File tree Expand file tree Collapse file tree 5 files changed +7
-19
lines changed
app/views/record-vaccinations Expand file tree Collapse file tree 5 files changed +7
-19
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" %}
Original file line number Diff line number Diff line change 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" %}
Original file line number Diff line number Diff line change 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({
Original file line number Diff line number Diff line change 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" %}
You can’t perform that action at this time.
0 commit comments