Skip to content

Commit 8509147

Browse files
authored
Phase banner include as html (#109)
1 parent 8b88b95 commit 8509147

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

docs/_includes/components/phase-banner.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<div class="nhsuk-phase-banner" id="{{include.phase_id}}">
22
<div class="nhsuk-width-container">
33
<p class="nhsuk-phase-banner__content">
4-
<strong class="nhsuk-tag">{{include.phase_tag}}</strong>
5-
<span class="nhsuk-phase-banner__text">{{include.phase_text}}</span>
4+
<strong class="nhsuk-tag">NEWS</strong>
5+
<span class="nhsuk-phase-banner__text">NHS announces move to digital-first messaging.
6+
<a class="nhsuk-link" href="https://notify.nhs.uk/using-nhs-notify/nhs-digital-first-strategy">Send messages with the NHS App first using NHS
7+
Notify</a>.
8+
</span>
69
</p>
710
</div>
811
</div>

docs/_includes/header.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<header class="nhsuk-header" role="banner">
22
<div class="nhsuk-header__container">
33
<div class="nhsuk-header__logo">
4-
<a class="nhsuk-header__link nhsuk-header__link--service" href="{{ site.baseurl }}/" aria-label="NHS Notify homepage">
4+
<a class="nhsuk-header__link nhsuk-header__link--service" href="{{ site.baseurl }}/"
5+
aria-label="NHS Notify homepage">
56
<svg class="nhsuk-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 16" height="40" width="100">
67
<path class="nhsuk-logo__background" fill="#005eb8" d="M0 0h40v16H0z"></path>
78
<path class="nhsuk-logo__text" fill="#fff"
@@ -17,4 +18,5 @@
1718
<div class="nhsuk-navigation-container">
1819
{%- include primary-navigation.html -%}
1920
</div>
21+
{%- include components/phase-banner.html -%}
2022
</header>

docs/pages/get-started/(draft)onboard-with-notify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ text='Your organisation or service will need to accept that it’s responsible f
173173
- managing the volume of messages it sends so it does not exceed any previously agreed amounts
174174

175175
You also need to confirm that you have successfully completed integration testing with NHS Notify.'
176-
%}
176+
%}
177177

178178
{% include components/details.html
179179
heading='Prove you have developed your integration securely'

0 commit comments

Comments
 (0)