diff --git a/app/views/errors/429.html b/app/views/errors/429.html deleted file mode 100644 index 658a2c2b..00000000 --- a/app/views/errors/429.html +++ /dev/null @@ -1,16 +0,0 @@ -{% extends 'layout.html' %} - -{% set pageName = "Sorry, the service is unavailable" %} - -{% block content %} -
You have made too many requests.
- -You will be able to use the service later.
- -Try again later.
-If you urgently need to record a vaccination, download our paper form.
+If you urgently need to record a vaccination, download our paper form.
diff --git a/app/views/errors/no-patient-details.html b/app/views/errors/no-patient-details.html new file mode 100644 index 00000000..d9dde92d --- /dev/null +++ b/app/views/errors/no-patient-details.html @@ -0,0 +1,28 @@ +{% extends 'layout.html' %} + +{% set pageName = "There is a temporary problem getting the patient's details" %} + + +{% block beforeContent %} + {{ backLink({ href: "/record-vaccinations/patient" }) }} +{% endblock %} + + +{% block content %} +Try again. Or if the problem persists and you urgently need to record a vaccination, download our paper form.
+ +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Try again" +}) }} + +You will not be able to see the patient's vaccination history.
- +{% from "button/macro.njk" import button %} +{{ button({ + text: "Try again" +}) }} - - + +{% from "button/macro.njk" import button %} +{{ button({ + text: "Continue anyway", + classes: "nhsuk-button--secondary" +}) }} diff --git a/app/views/errors/partial-vaccination-history.html b/app/views/errors/partial-vaccination-history.html new file mode 100644 index 00000000..a0e0a9a5 --- /dev/null +++ b/app/views/errors/partial-vaccination-history.html @@ -0,0 +1,42 @@ +{% extends 'layout.html' %} + +{% set pageName = "There is a temporary problem getting Jodie Brown's vaccination history" %} + + +{% block beforeContent %} + {{ backLink({ href: "/record-vaccinations/patient" }) }} +{% endblock %} + +{% set currentSection = "vaccinate" %} + + +{% block content %} +You may not see all the vaccination records that are usually shown in this service.
+ +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Try again" +}) }} + + + +{% from "button/macro.njk" import button %} + +{{ button({ + text: "Continue anyway", + classes: "nhsuk-button--secondary" +}) }} + + + +We could not get the patient's details. Try again later.
+Try again later.
+If you urgently need to record a vaccination, download our paper form.
You will not be able to see the patient's full vaccination history.
- - - - - - - - - - - -