diff --git a/runner/src/server/forms/ReportAnOutbreak.json b/runner/src/server/forms/ReportAnOutbreak.json index b8c6514bb..30c61c4c2 100644 --- a/runner/src/server/forms/ReportAnOutbreak.json +++ b/runner/src/server/forms/ReportAnOutbreak.json @@ -171,7 +171,8 @@ "customValidationMessages": { "string.empty": "Enter an email address in the correct format, like name@example.com", "string.pattern.base": "Enter an email address in the correct format, like name@example.com" - } + }, + "exposeToContext": true }, "type": "TextField", "title": "S1Q8. Email of key contact person", @@ -2720,5 +2721,13 @@ }, "phaseBanner": { "phase": "Beta" + }, + "specialPages": { + "confirmationPage": { + "customText": { + "nextSteps": "We will send 2 automated emails to {{ S1Q8 }}", + "title": "Report sent" + } + } } } diff --git a/runner/src/server/views/confirmation.html b/runner/src/server/views/confirmation.html index 472591652..6c66edbcc 100644 --- a/runner/src/server/views/confirmation.html +++ b/runner/src/server/views/confirmation.html @@ -20,42 +20,41 @@
{% set tmpl = 'Your reference number
' + reference + '' if reference else '' %} {% if not customText %} - {{ govukPanel({ - titleText: "Application complete", - html: tmpl - }) }} -

- You will be receiving a confirmation email shortly -

-

What happens next

- {% if paymentSkipped %} -

- Someone will be in touch to make a payment. -

+ {{ govukPanel({ + titleText: "Application complete", + html: tmpl + }) }} {% else %} -

- You will be contacted by an agent from UKHSA as soon as possible who will advise you on next steps.

- If you need urgent medical advice, you can call NHS 111 or visit 111.nhs.uk. For life-threatening emergencies, - call 999. -

+ {{ govukPanel({ + titleText: customText.title, + html: tmpl + }) }} {% endif %} - {% else %} - {{ govukPanel({ - titleText: customText.title, - html: tmpl - }) }} +

What happens next

- {% if paymentSkipped and customText.paymentSkipped %} -

- {{ customText.paymentSkipped }} -

+ {% if paymentSkipped %} +

Someone will be in touch to make a payment.

{% else %} - {% if customText.nextSteps %} -

- {{ customText.nextSteps }} -

- {% endif %} - {% endif %} + {% if customText.nextSteps %} +

{{ customText.nextSteps | safe }}

+ {% endif %} +

+ An acknowledgement email will give you your reference number and a copy of the information you've provided. The email will tell you if you have a low-risk COVID-19 outbreak, a medium-risk COVID-19 outbreak, a high-priority outbreak, or a single case of flu. +

+

+ An advice email will give you information specific to your situation to help you prevent the spread of infection. It explains what to expect from your local UKHSA health protection team or the community infection control team. +

+

+ If these emails do not arrive within one hour, or you need urgent advice, telephone your local UKHSA health protection team or community infection control team. +

+

If your outbreak is high priority on a weekend or bank holiday

+

+ If your acknowledgment or advice email tells you that your outbreak is assessed as high priority on a weekend or a bank holiday, you also need to telephone your local UKHSA health protection team. Call during the daytime if possible. If you do not call the health protection team, a member of the health protection team will only call you on the next working day. +

+

If you need urgent medical advice

+

+ If you need urgent medical advice, you should call NHS 111 or visit 111.nhs.uk. For life-threatening emergencies, call 999. +

{% endif %} {{ componentList(components) }}