You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/server/plugins/engine/views/index.html
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
{% extends baseLayoutPath %}
2
2
3
3
{% from "govuk/components/error-summary/macro.njk" import govukErrorSummary %}
4
+
{% from "govuk/components/notification-banner/macro.njk" import govukNotificationBanner %}
4
5
{% from "partials/components.html" import componentList with context %}
5
6
6
7
{% block content %}
@@ -10,7 +11,14 @@
10
11
{% include "partials/preview-banner.html" %}
11
12
{% endif %}
12
13
13
-
{% if errors | length %}
14
+
{% if showPaymentExpiredNotification %}
15
+
{{ govukNotificationBanner({
16
+
titleText: "Important",
17
+
html: '<h3class="govuk-notification-banner__heading">Your payment has been cancelled</h3><pclass="govuk-body">Your payment details were deleted because the form was inactive for 5 days.</p><pclass="govuk-body">Add your payment details again.</p>'
18
+
}) }}
19
+
{% endif %}
20
+
21
+
{% if errors | length and not showPaymentExpiredNotification %}
0 commit comments