From 080e45bc9fe85f1407d10e6210f7b8a2478eb913 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Tue, 29 Sep 2026 15:00:57 +0100 Subject: [PATCH 1/4] Vaccine updates Added explanatory paragraph about batch entry. --- app/views/vaccines/add-batch.html | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/vaccines/add-batch.html b/app/views/vaccines/add-batch.html index e04a6a08..30fedc0e 100644 --- a/app/views/vaccines/add-batch.html +++ b/app/views/vaccines/add-batch.html @@ -16,6 +16,7 @@

Add batch

+

If you get several batches with the same number and expiry date, you only need to add the details here once.

From 91e8b11f1511bb44639f6eac3df1266def242f38 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Tue, 29 Sep 2026 15:04:30 +0100 Subject: [PATCH 2/4] Add site deactivated error page template Added another error page for when a user select co-admin or same vax different person options - and can't continue because the site has been deactivated just now. --- .../site-deactivated-extra-scenario.html | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 app/views/errors/site-deactivated-extra-scenario.html diff --git a/app/views/errors/site-deactivated-extra-scenario.html b/app/views/errors/site-deactivated-extra-scenario.html new file mode 100644 index 00000000..536cb833 --- /dev/null +++ b/app/views/errors/site-deactivated-extra-scenario.html @@ -0,0 +1,25 @@ +{% extends 'layout.html' %} + +{% set pageName = "There is a problem using this option" %} + +{% block content %} + +
+
+ +

{{ pageName }}

+ +

You cannot continue with this option because [site name] has been deactivated.

+ +

An administrator can reactivate the site in the Vaccines setion. Once the site is reactivated, you will be able to record this vaccination but you will have to start again.

+ +

If no one is available to reactivate the site, record it on paper.

+ +

Download our paper form (opens in new tab)

+ +

Go back to Record vaccinations

+ +
+
+ +{% endblock %} From c0d6de641b3e11d835cc374f3be14ba9eef730f4 Mon Sep 17 00:00:00 2001 From: Anna-Sutton Date: Tue, 29 Sep 2026 15:09:21 +0100 Subject: [PATCH 3/4] Add error to index for site deactivation scenario --- app/views/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/views/index.html b/app/views/index.html index caeeac19..165786ca 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -307,6 +307,14 @@

Error pages

], [ { + html: "There is a problem using this option" + }, + { + text: "When a user has chosen the co-admin or same vax for a different patient option, and the site has just been deactivated." + } + ], + [ + { html: "There is a problem deactivating this site" }, { From 28fd4de0be078c1791c98c27832b3e6e7bf9c35f Mon Sep 17 00:00:00 2001 From: Benjy Stanton <2545065+benjystanton@users.noreply.github.com> Date: Wed, 30 Sep 2026 16:28:28 +0100 Subject: [PATCH 4/4] Fix typo in 'section' --- app/views/errors/site-deactivated-extra-scenario.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/errors/site-deactivated-extra-scenario.html b/app/views/errors/site-deactivated-extra-scenario.html index 536cb833..05e67ef4 100644 --- a/app/views/errors/site-deactivated-extra-scenario.html +++ b/app/views/errors/site-deactivated-extra-scenario.html @@ -11,7 +11,7 @@

{{ pageName }}

You cannot continue with this option because [site name] has been deactivated.

-

An administrator can reactivate the site in the Vaccines setion. Once the site is reactivated, you will be able to record this vaccination but you will have to start again.

+

An administrator can reactivate the site in the Vaccines section. Once the site is reactivated, you will be able to record this vaccination but you will have to start again.

If no one is available to reactivate the site, record it on paper.