Skip to content

Commit 3497385

Browse files
Simplify message variables
1 parent 58d06b2 commit 3497385

30 files changed

Lines changed: 76 additions & 77 deletions
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
{{ data.team.name }}<br>
2-
{{ data.team.email }}<br>
3-
{{ data.team.tel }}
1+
{{ team.name }}<br>
2+
{{ team.email }}<br>
3+
{{ team.tel }}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Get in touch with us
22

3-
Speak to a member of our team by calling {{ data.team.tel }}, or email {{ data.team.email }}.
3+
Speak to a member of our team by calling {{ team.tel }}, or email {{ team.email }}.

app/emails/consent/_your-data.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
## Your data
22

3-
By responding, you’re agreeing to your data being processed as set out in our [privacy notice]({{ data.team.privacyPolicyUrl }}).
3+
By responding, you’re agreeing to your data being processed as set out in our [privacy notice]({{ team.privacyPolicyUrl }}).
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
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

5-
If you think the response was sent by someone without parental responsibility, please contact us immediately on {{ data.team.tel }} or {{ data.team.email }}.
5+
If you think the response was sent by someone without parental responsibility, please contact us immediately on {{ team.tel }} or {{ team.email }}.
66

77
If the response came from you or someone you trust, you do not need to do anything.
88

9-
{{ data.team.name }}
9+
{{ team.name }}

app/emails/consent/information-child.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ Have a read of the leaflet about HPV that comes with this email to find out more
4747

4848
## You can talk to your local health team
4949

50-
If you want to speak to someone from your local health team, you can call {{ data.team.tel }}. You can also email {{ data.team.email }}.
50+
If you want to speak to someone from your local health team, you can call {{ team.tel }}. You can also email {{ team.email }}.

0 commit comments

Comments
 (0)