11{% extends 'layout.html' %}
22
3- {% set pageName = "Review your previous answers " %}
3+ {% set pageName = "Check these details still apply " %}
44
55{% set currentSection = "vaccinate" %}
66
1212 < div class ="nhsuk-grid-row ">
1313 < div class ="nhsuk-grid-column-two-thirds ">
1414
15- < h1 class ="nhsuk-heading-l "> Review your previous answers </ h1 >
15+ < h1 class ="nhsuk-heading-l "> {{ pageName }} </ h1 >
1616
1717 {{ summaryList({
1818 rows: [
@@ -35,106 +35,106 @@ <h1 class="nhsuk-heading-l">Review your previous answers</h1>
3535 },
3636 {
3737 key: {
38- text: "Vaccine "
38+ text: "Site "
3939 },
4040 value: {
41- text: data.vaccine
41+ text: (currentOrganisation.sites | findById( data.deliveryTeam)).name
4242 },
4343 actions: {
4444 items: [
4545 {
46- href: "/record-vaccinations/vaccine ",
46+ href: "/record-vaccinations/delivery-team ",
4747 text: "Change",
48- visuallyHiddenText: "vaccine "
48+ visuallyHiddenText: "site "
4949 }
5050 ]
5151 }
5252 },
5353 {
5454 key: {
55- text: "Product "
55+ text: "Vaccinator "
5656 },
5757 value: {
58- text: data.vaccineProduct
58+ html: (vaccinator.firstName + " " + vaccinator.lastName)
5959 },
6060 actions: {
6161 items: [
6262 {
63- href: "/record-vaccinations/vaccine ",
63+ href: "/record-vaccinations/vaccinator ",
6464 text: "Change",
65- visuallyHiddenText: "vaccine product "
65+ visuallyHiddenText: "contact information "
6666 }
6767 ]
6868 }
6969 },
7070 {
7171 key: {
72- text: "Batch "
72+ text: "Vaccine "
7373 },
7474 value: {
75- html: data.vaccineBatch + "< br > Expires 4 January 2025"
75+ html: ( data.vaccine | capitaliseFirstLetter) + "< br > " + data.vaccineProduct
7676 },
7777 actions: {
7878 items: [
7979 {
80- href: "/record-vaccinations/batch ",
80+ href: "/record-vaccinations/vaccine ",
8181 text: "Change",
82- visuallyHiddenText: "vaccine batch "
82+ visuallyHiddenText: "vaccine"
8383 }
8484 ]
8585 }
8686 },
8787 {
8888 key: {
89- text: "Vaccinator "
89+ text: "Batch "
9090 },
9191 value: {
92- html: (vaccinator.firstName + " " + vaccinator.lastName)
92+ html: data.vaccineBatch + "< br > Expires 4 January 2025"
9393 },
9494 actions: {
9595 items: [
9696 {
97- href: "/record-vaccinations/vaccinator ",
97+ href: "/record-vaccinations/batch ",
9898 text: "Change",
99- visuallyHiddenText: "contact information "
99+ visuallyHiddenText: "vaccine batch "
100100 }
101101 ]
102102 }
103103 },
104104 {
105105 key: {
106- text: "Location "
106+ text: "Eligibility "
107107 },
108108 value: {
109- html: data.locationType
109+ html: (( data.eligibility | join(" < br > ")) if (data.eligibility | isArray) else data.eligibility)
110110 },
111111 actions: {
112112 items: [
113113 {
114- href: "/record-vaccinations/location ",
114+ href: "/record-vaccinations/eligibility ",
115115 text: "Change",
116- visuallyHiddenText: "contact information "
116+ visuallyHiddenText: "eligibility "
117117 }
118118 ]
119119 }
120- } if (data.vaccine === "Flu" or data.vaccine == "COVID-19" ),
120+ } if (data.eligibility ),
121121 {
122122 key: {
123- text: "Eligibility "
123+ text: "Location "
124124 },
125125 value: {
126- html: (( data.eligibility | join(" < br > ")) if (data.eligibility | isArray) else data.eligibility)
126+ html: data.locationType
127127 },
128128 actions: {
129129 items: [
130130 {
131- href: "/record-vaccinations/eligibility ",
131+ href: "/record-vaccinations/location ",
132132 text: "Change",
133- visuallyHiddenText: "eligibility "
133+ visuallyHiddenText: "contact information "
134134 }
135135 ]
136136 }
137- } if (data.vaccine != "Pertussis" )
137+ } if (data.locationType )
138138 ]
139139 }) }}
140140
@@ -143,6 +143,8 @@ <h1 class="nhsuk-heading-l">Review your previous answers</h1>
143143 href: "/record-vaccinations/patient"
144144 })}}
145145
146+ < p > < a href ="/record-vaccinations "> Start again</ a > to record a vaccination from the beginning.</ p >
147+
146148 </ div >
147149 </ div >
148150
0 commit comments