@govuk-one-login/frontend-ui 1.3.13 → 1.3.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -88,7 +88,8 @@
|
|
|
88
88
|
{% if (displayBanner) %}
|
|
89
89
|
{{ govukNotificationBanner({
|
|
90
90
|
html: bannerMessage,
|
|
91
|
-
type: bannerType
|
|
91
|
+
type: bannerType,
|
|
92
|
+
titleText: bannerTitleText
|
|
92
93
|
}) }}
|
|
93
94
|
{% endif %}
|
|
94
95
|
|
|
@@ -151,4 +152,4 @@
|
|
|
151
152
|
isPageDynamic: isPageDynamic,
|
|
152
153
|
englishPageTitle: pageTitleKey | translateToEnglish }) }}
|
|
153
154
|
|
|
154
|
-
{% endblock %}
|
|
155
|
+
{% endblock %}
|
|
@@ -84,7 +84,8 @@
|
|
|
84
84
|
{% if (displayBanner) %}
|
|
85
85
|
{{ govukNotificationBanner({
|
|
86
86
|
html: bannerMessage,
|
|
87
|
-
type: bannerType
|
|
87
|
+
type: bannerType,
|
|
88
|
+
titleText: bannerTitleText
|
|
88
89
|
}) }}
|
|
89
90
|
{% endif %}
|
|
90
91
|
{% block content %}{% endblock %}
|
|
@@ -157,7 +158,7 @@
|
|
|
157
158
|
});
|
|
158
159
|
</script>
|
|
159
160
|
<script type="text/javascript" nonce='{{scriptNonce}}'>
|
|
160
|
-
if (document.getElementById('back-button'))
|
|
161
|
+
if (document.getElementById('back-button'))
|
|
161
162
|
document
|
|
162
163
|
.getElementById('back-button')
|
|
163
164
|
.addEventListener('click', (e) => {
|
|
@@ -172,4 +173,4 @@
|
|
|
172
173
|
import {setFingerprintCookie} from "/public/scripts/index.js";
|
|
173
174
|
await setFingerprintCookie("{{analyticsCookieDomain}}");
|
|
174
175
|
</script>
|
|
175
|
-
{% endblock %}
|
|
176
|
+
{% endblock %}
|