whosonfirst / whosonfirst-www-spelunker

A simple Flask-based spelunker for poking around Who's On First data
BSD 3-Clause "New" or "Revised" License
7 stars 9 forks source link

highlight non-current IDs #147

Open missinglink opened 4 years ago

missinglink commented 4 years ago

Heya,

I would like to make a small change to the spelunker to mark mz:is_current=0 ids in red, eg:

Screenshot 2020-07-04 at 13 26 41

I dug around in the code a bunch today but I couldn't figure out which bit is calling who with what.

@thisisaaronland could you please point me in the right direction for which bits of the code I would need to change to achieve this?

motivated by a desire to visualise https://github.com/whosonfirst-data/whosonfirst-data/issues/1377

thisisaaronland commented 4 years ago

https://github.com/whosonfirst/whosonfirst-www-spelunker/blob/master/www/templates/id.html