Skip to content

Commit

Permalink
Add alert banner for maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
vertism committed Dec 16, 2024
1 parent e3894a1 commit c6f1be4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/views/cases/filters/index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@

= render partial: 'layouts/header'

- content_for :alert_banner
= render partial: 'layouts/alert_banner'

- if @can_add_case
.grid-row
.column-full.button-holder
Expand Down
1 change: 1 addition & 0 deletions app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

= csrf_meta_tags
= render partial: 'layouts/phase_banner'
= yield :alert_banner

.grid-row
.column-full
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,7 @@ en:

common:
accessibility: Accessibility
alert_banner_html: "This service will be down for essential maintenance during the afternoon of Wednesday 14th April. You will not have access after 13.00 on this day and the site will resume service after business hours. Please contact <a href='mailto:[email protected]'>[email protected]</a> if you have any queries. Apologies for the inconvenience."
alert_banner_html: "This service will be down for essential maintenance from 17:30 on Tuesday 17th December. The site will resume service after business hours. Please contact <a href='mailto:[email protected]'>[email protected]</a> if you have any queries. Apologies for the inconvenience."
case:
actions: Actions
answered_in_time: Answered in time
Expand Down

0 comments on commit c6f1be4

Please sign in to comment.