Closed jpyuda closed 10 years ago
After line 80ish of partial_search.py
, in the same indented block as context['version_by_date'] = notice['effective_on']
, add:
context['version_current'] = version['timeline'] == 'current'
The chunk of code loops overall all versions (which have multiple notice ids) of the reg (where versions contain whether the version is past/current/future), loops through each of the notice ids and, when it finds a notice id that's good, marks that notice's date. The addition mentioned above also marks if that version (i.e. the one associated with the notice) is current or not.
Sorry it's not more intuitive!
I think we should have gotten you set up with a dev environment a long time ago.
This changes the wayfinding header on search results page, adds a search term and version searched subhead, makes the links blue, and adds a "Page X of Y" section to the footer.