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..05e67ef4 --- /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 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.

+ +

Download our paper form (opens in new tab)

+ +

Go back to Record vaccinations

+ +
+
+ +{% endblock %} diff --git a/app/views/index.html b/app/views/index.html index ec952de0..641c4600 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -319,6 +319,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" }, { 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.