-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4152 from alphagov/pp_11755_add_banner
PP-11755 Add maintenance banner
- Loading branch information
Showing
5 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% from "govuk/components/notification-banner/macro.njk" import govukNotificationBanner %} | ||
|
||
{% if display_maintenance_banner %} | ||
<div class="govuk-grid-column-two-thirds"> | ||
{% set html %} | ||
<p class="govuk-notification-banner__heading"> | ||
GOV.UK Pay will be unavailable for three 4-hour windows between 14 November and 28 November 2023. | ||
<a class="govuk-notification-banner__link" href="https://docs.payments.service.gov.uk/support_contact_and_more_information/scheduled_maintenance/">Read more about this downtime</a>. | ||
</p> | ||
{% endset %} | ||
|
||
{{ govukNotificationBanner({ | ||
html: html, | ||
attributes: { | ||
id: 'my-services-notification-banner' | ||
} | ||
}) }} | ||
</div> | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters