From 93827dee6d721788a8c29b26d9944bc65645c43b Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:05:22 +0100 Subject: [PATCH 01/27] Create check-answers.html --- app/views/invites/check-answers.html | 80 ++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 app/views/invites/check-answers.html diff --git a/app/views/invites/check-answers.html b/app/views/invites/check-answers.html new file mode 100644 index 0000000..5c5fbfc --- /dev/null +++ b/app/views/invites/check-answers.html @@ -0,0 +1,80 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Check answers" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} +
+
+ +

{{ pageTitle }}

+ + {{ summaryList({ + rows: [ + { + key: { + text: "Patient list" + }, + value: { + text: "[XXX] patients" + }, + actions: { + items: [ + { + href: "#", + text: "Change", + visuallyHiddenText: "patient list" + } + ] + } + }, + { + key: { + text: "Template" + }, + value: { + text: "RSV invitation" + }, + actions: { + items: [ + { + href: "#", + text: "Change", + visuallyHiddenText: "template" + } + ] + } + }, + { + key: { + text: "Method" + }, + value: { + html: "SMS text message" + }, + actions: { + items: [ + { + href: "#", + text: "Change", + visuallyHiddenText: "method" + } + ] + } + } + ] + }) }} + +
+ + +
+ +
+
+{% endblock %} \ No newline at end of file From 434481e1c28df1ec541d3a168ff608e376e955e8 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:05:24 +0100 Subject: [PATCH 02/27] Create confirmation.html --- app/views/invites/confirmation.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 app/views/invites/confirmation.html diff --git a/app/views/invites/confirmation.html b/app/views/invites/confirmation.html new file mode 100644 index 0000000..0d05d5f --- /dev/null +++ b/app/views/invites/confirmation.html @@ -0,0 +1,26 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Message sent" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} +
+
+ + {{ panel({ + titleText: pageTitle, + text: "[XXX] patients have been invited to get a [vaccination]" + }) }} + +

When a patient receives a [vaccination], they will show as 'Vaccinated' in your list of patients.

+ +

+ View list of patients +

+ +
+
+{% endblock %} \ No newline at end of file From 3ae7d30226460c2d4e2aea0a394a3bc7d9250182 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:05:27 +0100 Subject: [PATCH 03/27] Create patient-detail.html --- app/views/invites/patient-detail.html | 177 ++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 app/views/invites/patient-detail.html diff --git a/app/views/invites/patient-detail.html b/app/views/invites/patient-detail.html new file mode 100644 index 0000000..e04a112 --- /dev/null +++ b/app/views/invites/patient-detail.html @@ -0,0 +1,177 @@ +{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} + +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Patient detail" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} +
+
+ +

{{ pageTitle }}

+ + {{ summaryList({ + rows: [ + { + key: { + text: "Name" + }, + value: { + text: "Bailey, Sarah" + } + }, + { + key: { + text: "NHS number" + }, + value: { + text: "104 832 7715" + } + }, + { + key: { + text: "Weeks pregnant" + }, + value: { + html: "39 weeks" + } + }, + { + key: { + text: "Due date" + }, + value: { + html: "6 May 2026" + } + }, + { + key: { + text: "RSV" + }, + value: { + html: "Eligible from 11 Feb 2026" + } + }, + { + key: { + text: "Pertussis" + }, + value: { + html: "Vaccinated" + } + }, + { + key: { + text: "Flu" + }, + value: { + html: "Vaccinated" + } + }, + { + key: { + text: "Message preferences" + }, + value: { + html: "Opt in" + } + } + ] + }) }} + +
+ {{ button({ + text: "Send patient a message" + }) }} +
+ + {{ table({ + caption: "Timeline", + firstCellIsHeader: true, + head: [ + { + text: "Event" + }, + { + text: "Method" + }, + { + text: "Date" + }, + { + text: "User" + }, + { + text: "Organisation" + } + , + { + text: "Actions" + } + ], + rows: [ + [ + { + text: "RSV reminder sent" + }, + { + text: "RAVS" + }, + { + text: "18 Aug 2026" + }, + { + text: "Jeremy Blue" + }, + { + text: "Royal Berkshire" + }, + { + html: "View" + } + ], + [ + { + text: "RSV invite sent" + }, + { + text: "Telephone" + }, + { + text: "11 July 2026" + }, + { + text: "Jane Smith" + }, + { + text: "Royal Berkshire" + }, + { + html: "" + } + ] + ] + }) }} + +
+ + + {{ button({ + text: "Add to timeline", + classes: "nhsuk-button--secondary" + }) }} + + +
+
+{% endblock %} \ No newline at end of file From a32d0be2479f72925f7c5ca74d111c4642b7cfc7 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:05:30 +0100 Subject: [PATCH 04/27] Create template.html --- app/views/invites/template.html | 50 +++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 app/views/invites/template.html diff --git a/app/views/invites/template.html b/app/views/invites/template.html new file mode 100644 index 0000000..980a243 --- /dev/null +++ b/app/views/invites/template.html @@ -0,0 +1,50 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Template" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} +
+
+ + {{ radios({ + idPrefix: "example-hints", + name: "exampleHints", + fieldset: { + legend: { + text: pageTitle, + size: "l", + isPageHeading: true + } + }, + hint: { + text: "Select 1 option" + }, + items: [ + { + value: "rsv-invitation", + text: "RSV invitation" + }, + { + value: "rsv-reminder", + text: "RSV reminder" + }, + { + value: "flu-invitation", + text: "Flu invitation" + } + ] + }) }} + +
+ {{ button({ + text: "Continue" + }) }} +
+ +
+
+{% endblock %} \ No newline at end of file From fc456f3a6c3e48334ab92c35d604721b95ee8b41 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Tue, 18 Aug 2026 17:05:41 +0100 Subject: [PATCH 05/27] Create type.html --- app/views/invites/type.html | 44 +++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app/views/invites/type.html diff --git a/app/views/invites/type.html b/app/views/invites/type.html new file mode 100644 index 0000000..3ed0e58 --- /dev/null +++ b/app/views/invites/type.html @@ -0,0 +1,44 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Message type" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} +
+
+ + {{ checkboxes({ + idPrefix: "example-hints", + name: "exampleHints", + fieldset: { + legend: { + text: pageTitle, + size: "l", + isPageHeading: true + } + }, + hint: { + text: "Select all options that are relevant to you" + }, + items: [ + { + value: "text", + text: "Text message" + }, + { + value: "email", + text: "Email" + }, + { + value: "app", + text: "NHS App" + } + ] + }) }} + +
+
+{% endblock %} \ No newline at end of file From cecbd27f0e59a5d45674d7fe7ea8dbae14b6d974 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 08:57:48 +0100 Subject: [PATCH 06/27] Create message-detail.html --- app/views/invites/message-detail.html | 66 +++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 app/views/invites/message-detail.html diff --git a/app/views/invites/message-detail.html b/app/views/invites/message-detail.html new file mode 100644 index 0000000..52faf48 --- /dev/null +++ b/app/views/invites/message-detail.html @@ -0,0 +1,66 @@ +{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} + +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Message detail" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} +
+
+ +

{{ pageTitle }}

+ + {{ summaryList({ + rows: [ + { + key: { + text: "Template" + }, + value: { + text: "RSV reminder" + } + }, + { + key: { + text: "Template version" + }, + value: { + text: "7" + } + }, + { + key: { + text: "User" + }, + value: { + text: "Jeremy Blue" + } + }, + { + key: { + text: "Date" + }, + value: { + html: "18 Aug 2026" + } + } + ] + }) }} + +

Message content

+ +

[Message body here]

+ +
+
+{% endblock %} \ No newline at end of file From 73e7f547b2f1c77710b0fb6b85f71d5918399486 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 08:57:50 +0100 Subject: [PATCH 07/27] Create message-history.html --- app/views/invites/message-history.html | 75 ++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 app/views/invites/message-history.html diff --git a/app/views/invites/message-history.html b/app/views/invites/message-history.html new file mode 100644 index 0000000..ed2a104 --- /dev/null +++ b/app/views/invites/message-history.html @@ -0,0 +1,75 @@ +{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} + +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Message history" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} +
+
+ +

{{ pageTitle }}

+ + {{ table({ + caption: pageTitle, + captionClasses: "nhsuk-u-visually-hidden", + firstCellIsHeader: true, + head: [ + { + text: "Template" + }, + { + text: "User" + }, + { + text: "Date" + }, + { + text: "Actions" + } + ], + rows: [ + [ + { + text: "RSV reminder" + }, + { + text: "Jeremy Blue" + }, + { + text: "18 Aug 2026" + }, + { + html: "View" + } + ], + [ + { + text: "RSV invite" + }, + { + text: "Jane Smith" + }, + { + text: "9 Aug 2026" + }, + { + html: "View" + } + ] + ] + }) }} + +
+
+{% endblock %} \ No newline at end of file From f8898b39ac371a34cb65a1b3492c15e0d549b0be Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 11:59:58 +0100 Subject: [PATCH 08/27] Create index.html --- app/views/invites/index.html | 58 ++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 app/views/invites/index.html diff --git a/app/views/invites/index.html b/app/views/invites/index.html new file mode 100644 index 0000000..4fce5b9 --- /dev/null +++ b/app/views/invites/index.html @@ -0,0 +1,58 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Invites and reminders" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} + +
+
+ +

{{ pageTitle }}

+ + + +
+
+ +{% endblock %} \ No newline at end of file From e7dfabd6a2143284cfb64a935c49a7574131413e Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:04 +0100 Subject: [PATCH 09/27] Create patient-add-flag.html --- app/views/invites/patient-add-flag.html | 65 +++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 app/views/invites/patient-add-flag.html diff --git a/app/views/invites/patient-add-flag.html b/app/views/invites/patient-add-flag.html new file mode 100644 index 0000000..511ea1e --- /dev/null +++ b/app/views/invites/patient-add-flag.html @@ -0,0 +1,65 @@ +{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} + +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Add patient flag" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} +
+
+ + {{ radios({ + idPrefix: "example-hints", + name: "exampleHints", + fieldset: { + legend: { + text: pageTitle, + size: "l", + isPageHeading: true + } + }, + hint: { + text: "Select 1 option" + }, + items: [ + { + value: "invite-sent", + text: "Invite sent" + }, + { + value: "reminder-sent", + text: "Reminder sent" + }, + { + value: "opt-out", + text: "Opted out" + }, + { + value: "bereavement", + text: "Bereavement" + } + ] + }) }} + +
+ {{ button({ + text: "Continue" + }) }} + + Cancel +
+ + +
+
+{% endblock %} \ No newline at end of file From f568b7b0143ac13a251fcefacc6971a7a0416fbf Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:10 +0100 Subject: [PATCH 10/27] Create template-create-new.html --- app/views/invites/template-create-new.html | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 app/views/invites/template-create-new.html diff --git a/app/views/invites/template-create-new.html b/app/views/invites/template-create-new.html new file mode 100644 index 0000000..cde51a9 --- /dev/null +++ b/app/views/invites/template-create-new.html @@ -0,0 +1,49 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Create new template" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} + +
+
+ +

{{ pageTitle }}

+ + {{ input({ + id: "title", + name: "title", + label: { + text: "Title" + } + }) }} + + {{ textarea({ + name: "exampleRightSize", + id: "example-right-size", + rows: "5", + label: { + text: "Message body" + }, + hint: { + text: "Please be aware that text messages are 120 characters, if you go over this it will send across two messages." + } + }) }} + + {{ button({ + text: "Create template" + }) }} + +
+
+ +{% endblock %} \ No newline at end of file From 23d04164e418c700e0ebb38c330f62e249cfee47 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:14 +0100 Subject: [PATCH 11/27] Create template-detail.html --- app/views/invites/template-detail.html | 72 ++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 app/views/invites/template-detail.html diff --git a/app/views/invites/template-detail.html b/app/views/invites/template-detail.html new file mode 100644 index 0000000..35e2a85 --- /dev/null +++ b/app/views/invites/template-detail.html @@ -0,0 +1,72 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Template detail" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} + +
+
+ +

{{ pageTitle }}

+ + {{ summaryList({ + rows: [ + { + key: { + text: "Title" + }, + value: { + text: "Invite for RSV at 20 weeks" + } + }, + { + key: { + text: "Version" + }, + value: { + text: "7" + }, + actions: { + items: [ + { + href: "#", + text: "View history", + visuallyHiddenText: "name" + } + ] + } + }, + { + key: { + text: "Message body" + }, + value: { + html: "Um dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit" + }, + actions: { + items: [ + { + href: "#", + text: "Change", + visuallyHiddenText: "name" + } + ] + } + } + ] + }) }} + +
+
+ +{% endblock %} \ No newline at end of file From 2a491d5a65f0705ef7d2ef69812e25644cefde27 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:17 +0100 Subject: [PATCH 12/27] Create templates.html --- app/views/invites/templates.html | 62 ++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 app/views/invites/templates.html diff --git a/app/views/invites/templates.html b/app/views/invites/templates.html new file mode 100644 index 0000000..b3da84b --- /dev/null +++ b/app/views/invites/templates.html @@ -0,0 +1,62 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Templates" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} + +
+
+ +

{{ pageTitle }}

+ + {{ button({ + text: "Add new template" + }) }} + + + +
+
+ +{% endblock %} \ No newline at end of file From 6390668dd01a6234265df071b0c57b0edfaa4f54 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:28 +0100 Subject: [PATCH 13/27] Update choose template --- app/views/invites/choose-template.html | 82 ++++++++++++++++++++++++++ app/views/invites/template.html | 50 ---------------- 2 files changed, 82 insertions(+), 50 deletions(-) create mode 100644 app/views/invites/choose-template.html delete mode 100644 app/views/invites/template.html diff --git a/app/views/invites/choose-template.html b/app/views/invites/choose-template.html new file mode 100644 index 0000000..f13188a --- /dev/null +++ b/app/views/invites/choose-template.html @@ -0,0 +1,82 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Choose template" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} + +

{{ pageTitle }}

+ +
+
+ + + +
+
+{% endblock %} \ No newline at end of file diff --git a/app/views/invites/template.html b/app/views/invites/template.html deleted file mode 100644 index 980a243..0000000 --- a/app/views/invites/template.html +++ /dev/null @@ -1,50 +0,0 @@ -{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} - -{% set pageTitle = "Template" %} - -{% block pageTitle %} - {{ pageTitle }} - Record a vaccination - NHS -{% endblock %} - -{% block content %} -
-
- - {{ radios({ - idPrefix: "example-hints", - name: "exampleHints", - fieldset: { - legend: { - text: pageTitle, - size: "l", - isPageHeading: true - } - }, - hint: { - text: "Select 1 option" - }, - items: [ - { - value: "rsv-invitation", - text: "RSV invitation" - }, - { - value: "rsv-reminder", - text: "RSV reminder" - }, - { - value: "flu-invitation", - text: "Flu invitation" - } - ] - }) }} - -
- {{ button({ - text: "Continue" - }) }} -
- -
-
-{% endblock %} \ No newline at end of file From 4e0f6aa8f92e79d64560a3f4a5e99441bd34d05a Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:46 +0100 Subject: [PATCH 14/27] Update buttons --- app/views/invites/patient-detail.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/app/views/invites/patient-detail.html b/app/views/invites/patient-detail.html index e04a112..64aa72e 100644 --- a/app/views/invites/patient-detail.html +++ b/app/views/invites/patient-detail.html @@ -93,6 +93,11 @@

{{ pageTitle }}

{{ button({ text: "Send patient a message" }) }} + + {{ button({ + text: "Add flag to patient", + classes: "nhsuk-button--secondary" + }) }} {{ table({ @@ -163,14 +168,6 @@

{{ pageTitle }}

] }) }} -
- - - {{ button({ - text: "Add to timeline", - classes: "nhsuk-button--secondary" - }) }} - From a1067d9cdde9b284745e9e399a36a627e3960a0e Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:00:56 +0100 Subject: [PATCH 15/27] Add another item to history --- app/views/invites/message-history.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/views/invites/message-history.html b/app/views/invites/message-history.html index ed2a104..3fae5c1 100644 --- a/app/views/invites/message-history.html +++ b/app/views/invites/message-history.html @@ -66,6 +66,20 @@

{{ pageTitle }}

{ html: "View" } + ], + [ + { + text: "RSV invite" + }, + { + text: "Jane Smith" + }, + { + text: "9 Jul 2026" + }, + { + html: "View" + } ] ] }) }} From e86a8b5fbe541831059500884e74aab92d70848c Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:01:09 +0100 Subject: [PATCH 16/27] Add message styling from Mavis --- app/views/invites/message-detail.html | 52 +++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) diff --git a/app/views/invites/message-detail.html b/app/views/invites/message-detail.html index 52faf48..a74d831 100644 --- a/app/views/invites/message-detail.html +++ b/app/views/invites/message-detail.html @@ -15,6 +15,44 @@ {% endblock %} {% block content %} +
@@ -32,7 +70,7 @@

{{ pageTitle }}

}, { key: { - text: "Template version" + text: "Version" }, value: { text: "7" @@ -57,9 +95,17 @@

{{ pageTitle }}

] }) }} -

Message content

+

Message content

+ +
+
+ +
+

This is 160 characters, the limit for 1 text. Seed perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam.

+
-

[Message body here]

+
+
From 97610bb1fdf59a0f6d6925b6136e96bd1aa0ab13 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:31:44 +0100 Subject: [PATCH 17/27] Move some content to includes --- app/views/invites/_bereavement-warning.html | 7 ++++ app/views/invites/_filtered-patient-list.html | 40 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 app/views/invites/_bereavement-warning.html create mode 100644 app/views/invites/_filtered-patient-list.html diff --git a/app/views/invites/_bereavement-warning.html b/app/views/invites/_bereavement-warning.html new file mode 100644 index 0000000..985e2dd --- /dev/null +++ b/app/views/invites/_bereavement-warning.html @@ -0,0 +1,7 @@ +{{ warningCallout({ + heading: "Important", + headingLevel: 2, + html: + "

Please check that you have not included anyone who has recently had a termination, miscarriage or baby loss.

+

Read full guidance

" +}) }} diff --git a/app/views/invites/_filtered-patient-list.html b/app/views/invites/_filtered-patient-list.html new file mode 100644 index 0000000..7aceb77 --- /dev/null +++ b/app/views/invites/_filtered-patient-list.html @@ -0,0 +1,40 @@ +{{ summaryList({ + card: { + heading: "Filtered patient list", + headingSize: "m", + actions: { + items: [ + { + text: "Edit", + href: "#" + } + ] + } + }, + rows: [ + { + key: { + text: "Patients" + }, + value: { + text: "354" + } + }, + { + key: { + text: "Filters" + }, + value: { + html: "RSV status: Eligible
Weeks pregnant: 20 weeks" + } + }, + { + key: { + text: "Excluded" + }, + value: { + html: "22 patients have no mobile number" + } + } + ] + }) }} \ No newline at end of file From 449a7dab270b6e4eafebc3ff6f0326167f062578 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:31:56 +0100 Subject: [PATCH 18/27] Rename --- app/views/invites/{type.html => message-type.html} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/views/invites/{type.html => message-type.html} (100%) diff --git a/app/views/invites/type.html b/app/views/invites/message-type.html similarity index 100% rename from app/views/invites/type.html rename to app/views/invites/message-type.html From ab198bcc52ddd470d14717ed5dd19c0886609300 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:32:08 +0100 Subject: [PATCH 19/27] Rename --- app/views/invites/{choose-template.html => message-template.html} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename app/views/invites/{choose-template.html => message-template.html} (100%) diff --git a/app/views/invites/choose-template.html b/app/views/invites/message-template.html similarity index 100% rename from app/views/invites/choose-template.html rename to app/views/invites/message-template.html From 8f15e7b1830311802b76468526c4d6cd1244c8a8 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:32:26 +0100 Subject: [PATCH 20/27] Reuse repeatable content --- app/views/invites/check-answers.html | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/app/views/invites/check-answers.html b/app/views/invites/check-answers.html index 5c5fbfc..5be97ca 100644 --- a/app/views/invites/check-answers.html +++ b/app/views/invites/check-answers.html @@ -12,25 +12,16 @@

{{ pageTitle }}

+ {% include "invites/_bereavement-warning.html" %} + + {% include "invites/_filtered-patient-list.html" %} + {{ summaryList({ + card: { + heading: "Message", + headingSize: "m" + }, rows: [ - { - key: { - text: "Patient list" - }, - value: { - text: "[XXX] patients" - }, - actions: { - items: [ - { - href: "#", - text: "Change", - visuallyHiddenText: "patient list" - } - ] - } - }, { key: { text: "Template" From d2d9473ce03463c64803cd5bd96f1f7582d69557 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:32:29 +0100 Subject: [PATCH 21/27] Create message-start.html --- app/views/invites/message-start.html | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app/views/invites/message-start.html diff --git a/app/views/invites/message-start.html b/app/views/invites/message-start.html new file mode 100644 index 0000000..190203f --- /dev/null +++ b/app/views/invites/message-start.html @@ -0,0 +1,36 @@ +{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} + +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Send a message" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} + +
+
+ +

{{ pageTitle }}

+ + {% include "invites/_bereavement-warning.html" %} + + {% include "invites/_filtered-patient-list.html" %} + +
+ + {{ button({ + text: "Start message" + }) }} + +
+
+{% endblock %} \ No newline at end of file From edbfbeaa7328be0d270dcfc8d43407cd236f0749 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 14:32:32 +0100 Subject: [PATCH 22/27] Create prototype-links.html --- app/views/invites/prototype-links.html | 65 ++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 app/views/invites/prototype-links.html diff --git a/app/views/invites/prototype-links.html b/app/views/invites/prototype-links.html new file mode 100644 index 0000000..6e9a14f --- /dev/null +++ b/app/views/invites/prototype-links.html @@ -0,0 +1,65 @@ +{% extends 'layout.html' %} + +{% block header %} + {% include "includes/header-index-only.html" %} +{% endblock %} + +{% set pageTitle = "Invites" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} + +
+
+ +

{{ pageTitle }}

+ + + +

Filter patient list

+ +

To do

+ +

Create and send message

+ + + + +

View single patient

+ + + +

History

+ + + +

Templates

+ + + + + +
+
+{% endblock %} \ No newline at end of file From 0ed070a0cb94c2a48fd5d039580d5af696e29456 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 19 Aug 2026 16:59:48 +0100 Subject: [PATCH 23/27] Add edit template --- app/views/invites/prototype-links.html | 1 + app/views/invites/template-edit.html | 55 ++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 app/views/invites/template-edit.html diff --git a/app/views/invites/prototype-links.html b/app/views/invites/prototype-links.html index 6e9a14f..f082976 100644 --- a/app/views/invites/prototype-links.html +++ b/app/views/invites/prototype-links.html @@ -31,6 +31,7 @@

Create and send message

  • Start of send a message
  • Select message type
  • Select template
  • +
  • Edit template
  • Check answers
  • Confirmation
  • diff --git a/app/views/invites/template-edit.html b/app/views/invites/template-edit.html new file mode 100644 index 0000000..8bb16c4 --- /dev/null +++ b/app/views/invites/template-edit.html @@ -0,0 +1,55 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set pageTitle = "Edit template" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} + +
    +
    + +

    {{ pageTitle }}

    + + {{ input({ + id: "title", + name: "title", + label: { + text: "Title" + }, + value: "Invite for RSV at 20 weeks" + }) }} + + {{ textarea({ + name: "exampleRightSize", + id: "example-right-size", + rows: "5", + label: { + text: "Message body" + }, + hint: { + text: "Please be aware that text messages are 120 characters, if you go over this it will send across two messages." + }, + value: "um dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit i" + }) }} + +
    + {{ button({ + text: "Save changes" + }) }} + + Cancel +
    + +
    +
    + +{% endblock %} \ No newline at end of file From d093233943583d9fa41602177e2c1f971968903d Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Thu, 20 Aug 2026 14:18:03 +0100 Subject: [PATCH 24/27] Add current section --- app/views/invites/check-answers.html | 2 ++ app/views/invites/confirmation.html | 2 ++ app/views/invites/index.html | 2 ++ app/views/invites/message-detail.html | 4 ++-- app/views/invites/message-history.html | 4 ++-- app/views/invites/message-start.html | 4 ++-- app/views/invites/message-template.html | 2 ++ app/views/invites/message-type.html | 2 ++ app/views/invites/patient-add-flag.html | 4 ++-- app/views/invites/patient-detail.html | 4 ++-- app/views/invites/template-create-new.html | 2 ++ app/views/invites/template-detail.html | 2 ++ app/views/invites/template-edit.html | 2 ++ app/views/invites/templates.html | 2 ++ 14 files changed, 28 insertions(+), 10 deletions(-) diff --git a/app/views/invites/check-answers.html b/app/views/invites/check-answers.html index 5be97ca..53548d1 100644 --- a/app/views/invites/check-answers.html +++ b/app/views/invites/check-answers.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Check answers" %} {% block pageTitle %} diff --git a/app/views/invites/confirmation.html b/app/views/invites/confirmation.html index 0d05d5f..e8a97f4 100644 --- a/app/views/invites/confirmation.html +++ b/app/views/invites/confirmation.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Message sent" %} {% block pageTitle %} diff --git a/app/views/invites/index.html b/app/views/invites/index.html index 4fce5b9..91aec43 100644 --- a/app/views/invites/index.html +++ b/app/views/invites/index.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Invites and reminders" %} {% block pageTitle %} diff --git a/app/views/invites/message-detail.html b/app/views/invites/message-detail.html index a74d831..6d53f2c 100644 --- a/app/views/invites/message-detail.html +++ b/app/views/invites/message-detail.html @@ -1,7 +1,7 @@ -{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} - {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Message detail" %} {% block pageTitle %} diff --git a/app/views/invites/message-history.html b/app/views/invites/message-history.html index 3fae5c1..dee488f 100644 --- a/app/views/invites/message-history.html +++ b/app/views/invites/message-history.html @@ -1,7 +1,7 @@ -{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} - {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Message history" %} {% block pageTitle %} diff --git a/app/views/invites/message-start.html b/app/views/invites/message-start.html index 190203f..c358677 100644 --- a/app/views/invites/message-start.html +++ b/app/views/invites/message-start.html @@ -1,7 +1,7 @@ -{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} - {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Send a message" %} {% block pageTitle %} diff --git a/app/views/invites/message-template.html b/app/views/invites/message-template.html index f13188a..e129877 100644 --- a/app/views/invites/message-template.html +++ b/app/views/invites/message-template.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Choose template" %} {% block pageTitle %} diff --git a/app/views/invites/message-type.html b/app/views/invites/message-type.html index 3ed0e58..a04d684 100644 --- a/app/views/invites/message-type.html +++ b/app/views/invites/message-type.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Message type" %} {% block pageTitle %} diff --git a/app/views/invites/patient-add-flag.html b/app/views/invites/patient-add-flag.html index 511ea1e..06b8205 100644 --- a/app/views/invites/patient-add-flag.html +++ b/app/views/invites/patient-add-flag.html @@ -1,7 +1,7 @@ -{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} - {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Add patient flag" %} {% block pageTitle %} diff --git a/app/views/invites/patient-detail.html b/app/views/invites/patient-detail.html index 64aa72e..5f5a4d4 100644 --- a/app/views/invites/patient-detail.html +++ b/app/views/invites/patient-detail.html @@ -1,7 +1,7 @@ -{# Based on record in RAVS Core https://record-a-vaccination-prototype-283fe8650179.herokuapp.com/records/records/464743636 #} - {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Patient detail" %} {% block pageTitle %} diff --git a/app/views/invites/template-create-new.html b/app/views/invites/template-create-new.html index cde51a9..31f4757 100644 --- a/app/views/invites/template-create-new.html +++ b/app/views/invites/template-create-new.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Create new template" %} {% block pageTitle %} diff --git a/app/views/invites/template-detail.html b/app/views/invites/template-detail.html index 35e2a85..743f8b2 100644 --- a/app/views/invites/template-detail.html +++ b/app/views/invites/template-detail.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Template detail" %} {% block pageTitle %} diff --git a/app/views/invites/template-edit.html b/app/views/invites/template-edit.html index 8bb16c4..08141e6 100644 --- a/app/views/invites/template-edit.html +++ b/app/views/invites/template-edit.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Edit template" %} {% block pageTitle %} diff --git a/app/views/invites/templates.html b/app/views/invites/templates.html index b3da84b..6474176 100644 --- a/app/views/invites/templates.html +++ b/app/views/invites/templates.html @@ -1,5 +1,7 @@ {% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% set currentSection = "plus" %} + {% set pageTitle = "Templates" %} {% block pageTitle %} From ee072e4ffce21a43bac49dfcb214f3d5290b6e9e Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Thu, 20 Aug 2026 16:55:07 +0100 Subject: [PATCH 25/27] Update index and landing pages --- app/views/index.html | 13 ++-- app/views/invites/index.html | 93 ++++++++++++++------------ app/views/invites/invites-landing.html | 65 ++++++++++++++++++ app/views/invites/landing.html | 46 +++++++++++++ app/views/invites/prototype-links.html | 66 ------------------ 5 files changed, 169 insertions(+), 114 deletions(-) create mode 100644 app/views/invites/invites-landing.html create mode 100644 app/views/invites/landing.html delete mode 100644 app/views/invites/prototype-links.html diff --git a/app/views/index.html b/app/views/index.html index 50fbe4b..8104a4b 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -39,22 +39,25 @@

    MVP: Occupational health


    +

    Post MVP features

    + +
    - Post MVP features + Experimental features
    -

    Post MVP features

    -

    Clinics / sessions

    -

    Research journey 1

    diff --git a/app/views/invites/index.html b/app/views/invites/index.html index 91aec43..86e828e 100644 --- a/app/views/invites/index.html +++ b/app/views/invites/index.html @@ -1,60 +1,67 @@ -{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} +{% extends 'layout.html' %} -{% set currentSection = "plus" %} +{% block header %} + {% include "includes/header-index-only.html" %} +{% endblock %} -{% set pageTitle = "Invites and reminders" %} +{% set pageTitle = "Invites" %} {% block pageTitle %} {{ pageTitle }} - Record a vaccination - NHS {% endblock %} -{% block beforeContent %} - {{ backLink({ - href: "javascript:window.history.back()" - }) }} -{% endblock %} - {% block content %}
    -

    {{ pageTitle }}

    - -
    - {% endblock %} \ No newline at end of file diff --git a/app/views/invites/invites-landing.html b/app/views/invites/invites-landing.html new file mode 100644 index 0000000..c8ee3e7 --- /dev/null +++ b/app/views/invites/invites-landing.html @@ -0,0 +1,65 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set currentSection = "plus" %} + +{% set pageTitle = "Invites and reminders" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ breadcrumb({ + items: [ + { + href: "landing", + text: "Maternity" + } + ] + }) }} +{% endblock %} + +{% block content %} + +
    +
    + +

    {{ pageTitle }}

    + + + +
    +
    + +{% endblock %} \ No newline at end of file diff --git a/app/views/invites/landing.html b/app/views/invites/landing.html new file mode 100644 index 0000000..3150cad --- /dev/null +++ b/app/views/invites/landing.html @@ -0,0 +1,46 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set currentSection = "plus" %} + +{% set pageTitle = "Maternity" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block content %} + +
    +
    + +

    {{ pageTitle }}

    + +

    View, filter and export vaccination information for your pregnant patients.

    + + + +
    +
    + +{% endblock %} \ No newline at end of file diff --git a/app/views/invites/prototype-links.html b/app/views/invites/prototype-links.html deleted file mode 100644 index f082976..0000000 --- a/app/views/invites/prototype-links.html +++ /dev/null @@ -1,66 +0,0 @@ -{% extends 'layout.html' %} - -{% block header %} - {% include "includes/header-index-only.html" %} -{% endblock %} - -{% set pageTitle = "Invites" %} - -{% block pageTitle %} - {{ pageTitle }} - Record a vaccination - NHS -{% endblock %} - -{% block content %} - -
    -
    - -

    {{ pageTitle }}

    - - - -

    Filter patient list

    - -

    To do

    - -

    Create and send message

    - - - - -

    View single patient

    - - - -

    History

    - - - -

    Templates

    - - - - - -
    -
    -{% endblock %} \ No newline at end of file From 0079ab2672fe7bdbd77e599a9ee4520822fac984 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Thu, 20 Aug 2026 16:55:28 +0100 Subject: [PATCH 26/27] Improve patient flag screens --- app/views/invites/patient-add-flag-check.html | 76 +++++++++++++++++++ app/views/invites/patient-add-flag.html | 12 +-- app/views/invites/patient-detail.html | 34 +++++++-- 3 files changed, 111 insertions(+), 11 deletions(-) create mode 100644 app/views/invites/patient-add-flag-check.html diff --git a/app/views/invites/patient-add-flag-check.html b/app/views/invites/patient-add-flag-check.html new file mode 100644 index 0000000..da5b370 --- /dev/null +++ b/app/views/invites/patient-add-flag-check.html @@ -0,0 +1,76 @@ +{% extends 'layouts/ravs-plus-layout-1-maternity.html' %} + +{% set currentSection = "plus" %} + +{% set pageTitle = "Check and confirm" %} + +{% block pageTitle %} + {{ pageTitle }} - Record a vaccination - NHS +{% endblock %} + +{% block beforeContent %} + {{ backLink({ + href: "javascript:window.history.back()" + }) }} +{% endblock %} + +{% block content %} +
    +
    + +

    {{ pageTitle }}

    + + {{ summaryList({ + rows: [ + { + key: { + text: "Flag" + }, + value: { + text: "Invited via telephone" + }, + actions: { + items: [ + { + href: "#", + text: "Change", + visuallyHiddenText: "template" + } + ] + } + }, + { + key: { + text: "User" + }, + value: { + html: "Jane Smith" + } + }, + { + key: { + text: "Date" + }, + value: { + html: "20 Aug 2026" + } + }, + { + key: { + text: "Organisation" + }, + value: { + html: "Royal Berkshire" + } + } + ] + }) }} + + {{ button({ + text: "Confirm", + href: "patient-detail?flag=success" + }) }} + +
    +
    +{% endblock %} \ No newline at end of file diff --git a/app/views/invites/patient-add-flag.html b/app/views/invites/patient-add-flag.html index 06b8205..36e51f5 100644 --- a/app/views/invites/patient-add-flag.html +++ b/app/views/invites/patient-add-flag.html @@ -34,11 +34,11 @@ items: [ { value: "invite-sent", - text: "Invite sent" + text: "Invited via telephone" }, { value: "reminder-sent", - text: "Reminder sent" + text: "Reminded via telephone" }, { value: "opt-out", @@ -46,20 +46,20 @@ }, { value: "bereavement", - text: "Bereavement" + text: "Baby loss, miscarriage or termination" } ] }) }}
    {{ button({ - text: "Continue" + text: "Continue", + href: "patient-add-flag-check" }) }} - Cancel + Cancel
    - {% endblock %} \ No newline at end of file diff --git a/app/views/invites/patient-detail.html b/app/views/invites/patient-detail.html index 5f5a4d4..0712411 100644 --- a/app/views/invites/patient-detail.html +++ b/app/views/invites/patient-detail.html @@ -9,8 +9,17 @@ {% endblock %} {% block beforeContent %} - {{ backLink({ - href: "javascript:window.history.back()" + {{ breadcrumb({ + items: [ + { + href: "landing", + text: "Maternity" + }, + { + href: "#", + text: "Patients" + } + ] }) }} {% endblock %} @@ -18,6 +27,20 @@
    + {% set html %} +

    Flag added to patient details and timeline updated.

    + {% endset %} + + {% if data.flag === "success" %} + + {{ notificationBanner({ + heading: "Patient record updated", + html: html, + variant: "success" + }) }} + + {% endif %} +

    {{ pageTitle }}

    {{ summaryList({ @@ -91,11 +114,13 @@

    {{ pageTitle }}

    {{ button({ - text: "Send patient a message" + text: "Send invite or reminder", + href: "message-start" }) }} {{ button({ - text: "Add flag to patient", + text: "Add patient flag", + href: "patient-add-flag", classes: "nhsuk-button--secondary" }) }}
    @@ -168,7 +193,6 @@

    {{ pageTitle }}

    ] }) }} -
    {% endblock %} \ No newline at end of file From da58b24bcf731b06c255251071803b3024133fc4 Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Fri, 21 Aug 2026 08:14:48 +0100 Subject: [PATCH 27/27] Link some pages together --- app/views/invites/index.html | 5 ++++- app/views/invites/patient-add-flag-check.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/views/invites/index.html b/app/views/invites/index.html index 86e828e..30cf12a 100644 --- a/app/views/invites/index.html +++ b/app/views/invites/index.html @@ -21,6 +21,7 @@

    {{ pageTitle }}

    Navigation pages

    @@ -43,8 +44,10 @@

    Create and send message

    View single patient

    History

    diff --git a/app/views/invites/patient-add-flag-check.html b/app/views/invites/patient-add-flag-check.html index da5b370..ab08dbf 100644 --- a/app/views/invites/patient-add-flag-check.html +++ b/app/views/invites/patient-add-flag-check.html @@ -32,7 +32,7 @@

    {{ pageTitle }}

    actions: { items: [ { - href: "#", + href: "patient-add-flag", text: "Change", visuallyHiddenText: "template" }