Skip to content

Commit 7883664

Browse files
Simplify message variables
1 parent 58d06b2 commit 7883664

26 files changed

Lines changed: 60 additions & 63 deletions
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
You’ve told us that {{ consent.child.firstName }} has had both doses of the MMR vaccine.
1+
You’ve told us that {{ child.firstName }} has had both doses of the MMR vaccine.
22

33
We’ll update our records so you no longer get consent requests for MMR catch-up vaccinations.
44

5-
If you did not mean to send this response, or you think that {{ consent.child.firstName }} is not fully vaccinated against MMR, contact our team using the details below.
5+
If you did not mean to send this response, or you think that {{ child.firstName }} is not fully vaccinated against MMR, contact our team using the details below.
66

77
{% include "emails/consent/_contact-details.njk" %}

app/emails/consent/consent-given-changed-school.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
You’ve given consent for {{ consent.child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }}.
1+
You’ve given consent for {{ child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }}.
22

33
We don’t currently have any sessions scheduled at your child’s school, but this might change. We’ll contact you again to let you know if we’re returning to the school. If we’re not, we’ll give you a chance to book into a community clinic.
44

5-
If {{ consent.child.firstName }}’s health changes in the meantime, or you arrange for them to be vaccinated elsewhere, tell us using the contact details below.
5+
If {{ child.firstName }}’s health changes in the meantime, or you arrange for them to be vaccinated elsewhere, tell us using the contact details below.
66

77
If you want to withdraw your consent, please phone us.
88

app/emails/consent/consent-given.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
You’ve given consent for {{ consent.child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }} at {{ session.location.name }}.
1+
You’ve given consent for {{ child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }} at {{ session.location.name }}.
22

33
Please let them know what to expect. We’ll send you confirmation once your child has been vaccinated.
44

5-
If {{ consent.child.firstName }}’s health changes, or you arrange for them to be vaccinated elsewhere, let our team know using the details below. You should also tell us if your child receives any other vaccinations before the session.
5+
If {{ child.firstName }}’s health changes, or you arrange for them to be vaccinated elsewhere, let our team know using the details below. You should also tell us if your child receives any other vaccinations before the session.
66

77
If you want to withdraw your consent, please phone us.
88

app/emails/consent/consent-needs-triage.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
You’ve given consent for {{ consent.child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }} at {{ session.location.name }}.
1+
You’ve given consent for {{ child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }} at {{ session.location.name }}.
22

3-
As you answered ‘yes’ to one or more of the health questions, we need to review your answers so we can decide what’s best for {{ consent.child.firstName }}. We’ll let you know once we’ve done this.
3+
As you answered ‘yes’ to one or more of the health questions, we need to review your answers so we can decide what’s best for {{ child.firstName }}. We’ll let you know once we’ve done this.
44

55
If you want to withdraw your consent in the meantime, please phone us.
66

app/emails/consent/consent-refused.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
You have told us you do not want {{ consent.child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }} at {{ session.location.name }}.
1+
You have told us you do not want {{ child.fullAndPreferredNames }} to have their {{ session.vaccinationNames.sentenceCase }} at {{ session.location.name }}.
22

33
If you change your mind, please contact us.
44

app/emails/consent/consent-unknown-contact.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
We have received a response to our request for consent for {{ consent.child.firstName }} to have their {{ session.vaccinationNames.sentenceCase }}.
1+
We have received a response to our request for consent for {{ child.firstName }} to have their {{ session.vaccinationNames.sentenceCase }}.
22

33
> We’re contacting you because the contact details in the response are different from those we have in our records.
44

app/emails/consent/invite-catch-up.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Our records show your child has not had their HPV vaccination. Pupils usually ha
1212
[Learn more about the {{ programme.vaccineName.sentenceCase }} on GOV.UK]({{ programme.guidance.url }}) ({{ programme.guidance.hint }})
1313
{% endfor %}
1414

15-
{% if consent.child.school.phase == SchoolPhase.Secondary %}
15+
{% if child.school.phase == SchoolPhase.Secondary %}
1616
{% include "emails/consent/_talk-to-your-child.njk" %}
1717
{% endif %}
1818

app/emails/consent/invite-clinic-consent.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
You recently booked {{ consent.child.fullAndPreferredNames }} into a clinic so they can get their {{ session.vaccinationNames.sentenceCase }}.
1+
You recently booked {{ child.fullAndPreferredNames }} into a clinic so they can get their {{ session.vaccinationNames.sentenceCase }}.
22

3-
Please give consent for {{ consent.child.firstName }} to be vaccinated ahead of your clinic appointment.
3+
Please give consent for {{ child.firstName }} to be vaccinated ahead of your clinic appointment.
44

55
[Give consent for the {{ session.vaccinationNames.sentenceCase }}]({{ session.consentUrl }}/start)
66

app/emails/consent/invite-clinic-reminder.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
It’s not too late for {{ consent.child.fullAndPreferredNames }} to get their {{ session.vaccinationNames.sentenceCase }} at a community clinic.
1+
It’s not too late for {{ child.fullAndPreferredNames }} to get their {{ session.vaccinationNames.sentenceCase }} at a community clinic.
22

33
If you’d like to book a clinic appointment, please contact us using the details below.
44

app/emails/consent/invite-clinic.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Our records show that {{ consent.child.fullAndPreferredNames }} has not had their {{ session.vaccinationNames.sentenceCase }} yet.
1+
Our records show that {{ child.fullAndPreferredNames }} has not had their {{ session.vaccinationNames.sentenceCase }} yet.
22

33
They can have this vaccination at a community clinic. If you’d like to book a clinic appointment, please contact us using the details below.
44

0 commit comments

Comments
 (0)