Skip to content

Commit bd0445f

Browse files
Moved 'Site' item up in Check and confirm screen (#418)
Moved the 'Site' item up so it comes after 'Date', mirroring the order of the journey. <img width="296" height="446" alt="image" src="https://github.com/user-attachments/assets/f4372a41-ebbb-4633-baf5-42d3d0d75d4f" /> Co-authored-by: Frankie Roberto <[email protected]>
1 parent c4e306e commit bd0445f

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

app/views/record-vaccinations/check.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -183,56 +183,56 @@ <h2 class="nhsuk-heading-m">Vaccination</h2>
183183
},
184184
{
185185
key: {
186-
text: "Vaccine"
186+
text: "Site"
187187
},
188188
value: {
189-
html: (data.vaccine | capitaliseFirstLetter) + "<br>" + data.vaccineProduct
189+
text: (currentOrganisation.sites | findById(data.deliveryTeam)).name
190190
},
191191
actions: {
192192
items: [
193193
{
194-
href: "/record-vaccinations/vaccine",
194+
href: "/record-vaccinations/delivery-team",
195195
text: "Change",
196-
visuallyHiddenText: "vaccine"
196+
visuallyHiddenText: "Site"
197197
}
198198
]
199199
}
200200
},
201201
{
202202
key: {
203-
text: "Batch"
203+
text: "Vaccine"
204204
},
205205
value: {
206-
html: batchHtml
206+
html: (data.vaccine | capitaliseFirstLetter) + "<br>" + data.vaccineProduct
207207
},
208208
actions: {
209209
items: [
210210
{
211-
href: ("/record-vaccinations/add-batch" if data.vaccineBatch == "add-new" else "/record-vaccinations/batch"),
211+
href: "/record-vaccinations/vaccine",
212212
text: "Change",
213-
visuallyHiddenText: "vaccine batch"
213+
visuallyHiddenText: "vaccine"
214214
}
215215
]
216216
}
217217
},
218218
{
219219
key: {
220-
text: "Site"
220+
text: "Batch"
221221
},
222222
value: {
223-
text: (currentOrganisation.sites | findById(data.deliveryTeam)).name
223+
html: batchHtml
224224
},
225225
actions: {
226226
items: [
227227
{
228-
href: "/record-vaccinations/delivery-team",
228+
href: ("/record-vaccinations/add-batch" if data.vaccineBatch == "add-new" else "/record-vaccinations/batch"),
229229
text: "Change",
230-
visuallyHiddenText: "Site"
230+
visuallyHiddenText: "vaccine batch"
231231
}
232232
]
233233
}
234234
},
235-
{
235+
{
236236
key: {
237237
text: "Vaccinator"
238238
},

0 commit comments

Comments
 (0)