-
Notifications
You must be signed in to change notification settings - Fork 31
Add a banner to manage.get.gov
Cameron Dixon edited this page Nov 17, 2025
·
4 revisions
We sometimes need to put up a banner on the registrar to inform our users about an event. (Because they are different sites, this banner is different than the one on get.gov, though the content is often the same.)
- 🟦 Informative (blue): src/registrar/templates/includes/banner-info.html
- 🟨 Warning (yellow w/exclamation): src/registrar/templates/includes/banner-warning.html
- 🔴 Error (red): src/registrar/templates/includes/banner-error.html
- 🟥 System outage (maroon w/exclamation): src/registrar/templates/includes/system-outage.html
- 🟥 Service disruption (maroon w/exclamation): src/registrar/templates/includes/banner-service-disruption.html
- 🟥 Site alert (maroon w/exclamation): src/registrar/templates/includes/banner-site-alert.html
3. Call the right banner in src/registrar/templates/base.html
- See the comment at https://github.com/cisagov/manage.get.gov/blob/main/src/registrar/templates/base.html#L77-L94 for name and placement.
- A PR where we've added a banner can be seen at https://github.com/cisagov/manage.get.gov/pull/4248/files.