diff --git a/app/views/errors/history-error-continue-anyway.html b/app/views/errors/history-error-continue-anyway.html new file mode 100644 index 00000000..76346f78 --- /dev/null +++ b/app/views/errors/history-error-continue-anyway.html @@ -0,0 +1,25 @@ +{% extends 'layout.html' %} + +{% set pageName = "We could not get any vaccination history for Jodie Brown" %} + +{% block beforeContent %} + {{ backLink({ href: "/record-vaccinations/patient" }) }} +{% endblock %} + +{% set currentSection = "vaccinate" %} + +{% block content %} + +
+
+ +

{{ pageName }}

+ + {{ button({ + text: "Continue anyway" + }) }} + +
+
+ +{% endblock %} \ No newline at end of file diff --git a/app/views/errors/no-vaccination-history.html b/app/views/errors/no-vaccination-history.html index 388a256a..fa869442 100644 --- a/app/views/errors/no-vaccination-history.html +++ b/app/views/errors/no-vaccination-history.html @@ -2,38 +2,24 @@ {% 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 %} +
+

{{ pageName }}

- -{% from "button/macro.njk" import button %} - -{{ button({ - text: "Try again" -}) }} - - -    - -{% from "button/macro.njk" import button %} - -{{ button({ - text: "Continue anyway", - classes: "nhsuk-button--secondary" -}) }} + {{ button({ + text: "Try again" + }) }}
- -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/app/views/errors/pds-error-continue-anyway.html b/app/views/errors/pds-error-continue-anyway.html index bb269301..11bbb8e3 100644 --- a/app/views/errors/pds-error-continue-anyway.html +++ b/app/views/errors/pds-error-continue-anyway.html @@ -1,27 +1,25 @@ {% extends 'layout.html' %} -{% set pageName = "We could not get the patient's details" %} - +{% set pageName = "We cannot get the patient's details" %} {% block beforeContent %} {{ backLink({ href: "/record-vaccinations/patient" }) }} {% endblock %} +{% set currentSection = "vaccinate" %} {% block content %} +
-

{{ pageName }}

- -{% from "button/macro.njk" import button %} +

{{ pageName }}

-{{ button({ - text: "Continue anyway" -}) }} + {{ button({ + text: "Continue anyway" + }) }}
- -{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/app/views/index.html b/app/views/index.html index 3c3c2d98..409b5d11 100755 --- a/app/views/index.html +++ b/app/views/index.html @@ -13,13 +13,11 @@ {% set pageName = "NHS Record a vaccination prototypes" %} - ---> + {% block beforeContent %} {% endblock %} - {% block content %} @@ -437,7 +435,15 @@

Error pages

html: "There is a temporary problem getting [patient name]'s vaccination history (history API issue)" }, { - text: "When no vaccination history can be retrieved from the history APIs or RAVS database." + text: "When no vaccination history can be retrieved from the history APIs so we allow the user to try again." + } + ], + [ + { + html: "We could not any vaccination history for [patient name]" + }, + { + text: "When the user has tried again and we still cannot fetch any history from the APIs so we allow the user to continue with no history." } ], [ @@ -466,7 +472,7 @@

Error pages

], [ { - html: "We could not get the patient's details" + html: "We cannot get the patient's details" }, { text: "When we cannot fetch patient details from PDS and allow the user to continue recording without the NHS number match."