From 46bc6e6784623e8da53ad5edcf9c9d008ee723eb Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Tue, 30 Jun 2026 14:46:00 +0100 Subject: [PATCH 1/2] Alternative index page for Record vaccinations --- app/views/record-vaccinations/alt-index.html | 88 ++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 app/views/record-vaccinations/alt-index.html diff --git a/app/views/record-vaccinations/alt-index.html b/app/views/record-vaccinations/alt-index.html new file mode 100644 index 00000000..57016bd2 --- /dev/null +++ b/app/views/record-vaccinations/alt-index.html @@ -0,0 +1,88 @@ +{% extends 'layout.html' %} + +{% set pageName = "Record vaccinations" %} +

Start recording a vaccination.

+ +

Do you have the patient's NHS number?

+ +{% set currentSection = "vaccinate" %} + +{% block content %} +
+
+ + {% include "includes/notification.html" %} + + + {% if (errorList | length) > 0 %} + {{ errorSummary({ + titleText: "There is a problem", + errorList: errorList + }) }} + {% endif %} + + + +
+ + {% set nhsNumberHtml %} + + {{ input({ + id: "nhs-number", + name: "nhsNumber", + classes: "nhsuk-input--width-10", + inputmode: "numeric", + errorMessage: nhsNumberError, + label: { + text: "NHS number", + classes: "nhsuk-label--s" + }, + value: data.nhsNumber, + hint: { + text: "For example, 485 777 3456" + } + }) }} + {% endset %} + + + {{ radios({ + idPrefix: "nhs-number-known", + name: "nhsNumberKnown", + fieldset: { + legend: { + html: "Do you have the patient’s NHS number?", + classes: "nhsuk-fieldset__legend--l", + isPageHeading: "true" + } + }, + value: data.nhsNumberKnown, + errorMessage: nhsNumberKnownError if nhsNumberKnownError, + items: [ + { + value: "yes", + text: "Yes", + conditional: { + html: nhsNumberHtml + } + }, + { + value: "no", + text: "No" + } + ] + }) }} + + {# This is to make sure the right options are shown on the 'Done' page. #} + + + + + {{ button({ + text: "Continue" + })}} +
+ +
+
+ +{% endblock %} From effa855b25fd2e2ccc0b2471253eb8c793658acf Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Tue, 30 Jun 2026 14:51:21 +0100 Subject: [PATCH 2/2] Added what's new inset text Added an inset text section with updates link. --- app/views/record-vaccinations/alt-index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/app/views/record-vaccinations/alt-index.html b/app/views/record-vaccinations/alt-index.html index 57016bd2..132d25fa 100644 --- a/app/views/record-vaccinations/alt-index.html +++ b/app/views/record-vaccinations/alt-index.html @@ -3,7 +3,16 @@ {% set pageName = "Record vaccinations" %}

Start recording a vaccination.

-

Do you have the patient's NHS number?

+ {% from 'inset-text/macro.njk' import insetText %} + +{% set insetTextHtml %} +

Find out about the latest updates to the service: +
What's new (opens in new tab)

+{% endset %} + +{{ insetText({ + html: insetTextHtml +}) }} {% set currentSection = "vaccinate" %}