Skip to content

Commit ac3bdec

Browse files
authored
Changes to injection site question (#450)
Reverting this question back to how it was. Changing: - Where did you give the vaccination?' back to 'Where did you give the injection?' - 'Body part' heading above 'Somewhere else' options back to 'Injection site'
1 parent 1793634 commit ac3bdec

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

app/routes/record-vaccinations.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -957,13 +957,13 @@ module.exports = router => {
957957

958958
if (!injectionSite) {
959959
injectionSiteError = {
960-
text: "Select where you gave the vaccine",
960+
text: "Select where you gave the injection",
961961
href: "#injection-site-1"
962962
}
963963
errors.push(injectionSiteError)
964964
} else if (injectionSite === "other" && !otherInjectionSite) {
965965
otherInjectionSiteError = {
966-
text: "Select where you gave the vaccine",
966+
text: "Select where you gave the injection",
967967
href: "#other-injection-site-1"
968968
}
969969
errors.push(otherInjectionSiteError)

app/views/record-vaccinations/check.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ <h2 class="nhsuk-heading-m">Vaccination</h2>
336336
},
337337
{
338338
key: {
339-
text: "Vaccination site"
339+
text: "Injection site"
340340
},
341341
value: {
342342
html: (data.otherInjectionSite if data.injectionSite == "other" else data.injectionSite)
@@ -346,7 +346,7 @@ <h2 class="nhsuk-heading-m">Vaccination</h2>
346346
{
347347
href: "/record-vaccinations/injection-site",
348348
text: "Change",
349-
visuallyHiddenText: "Vaccination site"
349+
visuallyHiddenText: "Injection site"
350350
}
351351
]
352352
}

app/views/record-vaccinations/injection-site.html

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends 'layout.html' %}
22

3-
{% set pageName = "Where did you give the vaccine?" %}
3+
{% set pageName = "Where did you give the injection?" %}
44

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

@@ -28,7 +28,7 @@
2828
name: "otherInjectionSite",
2929
fieldset: {
3030
legend: {
31-
text: "Body part",
31+
text: "Injection site",
3232
classes: "nhsuk-fieldset__legend--s"
3333
}
3434
},
@@ -63,7 +63,7 @@
6363
name: "injectionSite",
6464
fieldset: {
6565
legend: {
66-
text: ("Where did you give the vaccine?" if data.vaccinationToday == 'yes' else "Where was the vaccine given?"),
66+
text: ("Where did you give the injection?" if data.vaccinationToday == 'yes' else "Where was the injection given?"),
6767
classes: "nhsuk-fieldset__legend--l",
6868
isPageHeading: true
6969
}
@@ -81,10 +81,6 @@
8181
value: "Right arm",
8282
text: "Right arm"
8383
},
84-
{
85-
value: "Nose",
86-
text: "Nose"
87-
},
8884
{
8985
divider: "or"
9086
},

0 commit comments

Comments
 (0)