Skip to content

Commit 00f9b36

Browse files
Switch to new Notification banner from NHS Frontend (#454)
This swaps out our previous use of the Notification banner from GOV.UK Frontend with the new one from NHS.UK Frontend.
1 parent 0f6e678 commit 00f9b36

File tree

1 file changed

+11
-14
lines changed

1 file changed

+11
-14
lines changed

app/views/updates/multiple.html

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,17 @@
1313

1414
{% block content %}
1515

16-
17-
<div class="govuk-notification-banner" role="region" aria-labelledby="govuk-notification-banner-title" data-module="govuk-notification-banner">
18-
<div class="govuk-notification-banner__header">
19-
<h2 class="govuk-notification-banner__title" id="govuk-notification-banner-title">
20-
Updates
21-
</h2>
22-
</div>
23-
<div class="govuk-notification-banner__content">
24-
<p class="govuk-notification-banner__heading">
25-
There have been 4 updates since you last logged in.
26-
<a class="govuk-notification-banner__link" href="/updates">View updates</a>.
27-
</p>
28-
</div>
29-
</div>
16+
{% set notificationHtml %}
17+
<p class="nhsuk-notification-banner__heading">
18+
There have been 4 updates since you last logged in.
19+
<a class="nhsuk-notification-banner__link" href="/updates">View updates</a>.
20+
</p>
21+
{% endset %}
22+
23+
{{ notificationBanner({
24+
titleText: "Updates",
25+
html: notificationHtml
26+
}) }}
3027

3128
<div class="nhsuk-grid-row">
3229
<div class="nhsuk-grid-column-two-thirds nhsuk-u-margin-bottom-5">

0 commit comments

Comments
 (0)