Closed niqjohnson closed 6 years ago
@higs4281: Ah, sorry, I think I forgot a step in the instructions. Since this touches some JS, try rebuilding the frontend assets with grunt build
before you start the server (I updated the original PR comment to add that step).
The alert doesn't consistently appear on the search results page, but I think that's a bug with the search results page template and not with the alert (the help module doesn't always appear either, even on production).
Good find. I'm going to dig into this a little bit.
Show the update-in-progress alert from #843 in the sidebar of all pages of an affected regulation instead of just the landing page.
Additions
Changes
label_id
instead ofreg_part
in thereg_updates.py
template tag (label_id
is available in every template,reg_part
isn't)Testing
./frontendbuild.sh
EREGS_API_BASE=https://www.consumerfinance.gov/eregs-api/ ./runserver.sh
if you're running eRegs inside of cf.gov;EREGS_API_BASE=https://www.consumerfinance.gov/eregs-api/ python manage.py runserver
if you're running it standalone).Screenshots
Notes