Skip to content

Commit b2061d5

Browse files
Remove the COVID-19 interval warning from the flow (#521)
This was added for demo purposes but can be distracting as it'd normally only been seen rarely. It'll remain linked to from the index page
1 parent 032a588 commit b2061d5

File tree

5 files changed

+7
-19
lines changed

5 files changed

+7
-19
lines changed

app/views/record-vaccinations/consent.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
{% set currentSection = "consent" %}
66

77
{% block beforeContent %}
8-
{% if data.vaccine === "COVID-19" %}
9-
{% set backLinkHref = "/record-vaccinations/warning" %}
10-
{% else %}
11-
{% set backLinkHref = "/record-vaccinations/patient-history" %}
12-
{% endif %}
8+
{% set backLinkHref = "/record-vaccinations/patient-history" %}
139
{{ backLink({ href: backLinkHref }) }}
1410
{% endblock %}
1511

app/views/record-vaccinations/patient-deceased.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
{% set currentSection = "vaccinate" %}
66

7-
{% if (data.vaccine === "COVID-19") %}
8-
{% set nextPage = "/record-vaccinations/warning" %}
9-
{% elseif ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
7+
{% if ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
108
{% set nextPage = "/record-vaccinations/patient-estimated-due-date" %}
119
{% else %}
1210
{% set nextPage = "/record-vaccinations/consent" %}

app/views/record-vaccinations/patient-history-deceased.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
{% set currentSection = "vaccinate" %}
66

7-
{% if (data.vaccine === "COVID-19") %}
8-
{% set nextPage = "/record-vaccinations/warning" %}
9-
{% elseif ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
7+
{% if ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
108
{% set nextPage = "/record-vaccinations/patient-estimated-due-date" %}
119
{% else %}
1210
{% set nextPage = "/record-vaccinations/consent" %}

app/views/record-vaccinations/patient-history-none.html

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
{% set currentSection = "vaccinate" %}
66

7-
{% if (data.vaccine === "COVID-19") %}
8-
{% set nextPage = "/record-vaccinations/warning" %}
9-
{% elseif ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
7+
{% if ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
108
{% set nextPage = "/record-vaccinations/patient-estimated-due-date" %}
119
{% else %}
1210
{% set nextPage = "/record-vaccinations/consent" %}
@@ -77,11 +75,11 @@ <h1 class="nhsuk-heading-l">Check {{ data.patientName }}’s details</h1>
7775
</ul>
7876
{% endset %}
7977

80-
78+
8179

8280
{% endif %}
8381

84-
82+
8583

8684
<form action="{{ nextPage }}" method="post" novalidate>
8785
{{ button({

app/views/record-vaccinations/patient-history.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44

55
{% set currentSection = "vaccinate" %}
66

7-
{% if (data.vaccine === "COVID-19") %}
8-
{% set nextPage = "/record-vaccinations/warning" %}
9-
{% elseif ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
7+
{% if ((data.vaccine == "RSV") and (data.eligibility | arrayOrStringIncludes("Pregnant"))) or (data.vaccine == "Pertussis") %}
108
{% set nextPage = "/record-vaccinations/patient-estimated-due-date" %}
119
{% else %}
1210
{% set nextPage = "/record-vaccinations/consent" %}

0 commit comments

Comments
 (0)