Skip to content

Commit

Permalink
un-peronalise page title
Browse files Browse the repository at this point in the history
  • Loading branch information
acsauk committed Aug 13, 2024
1 parent fba88c1 commit 71972f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion lang/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,8 @@
"confirmYouDoNotWantToBeACertificateProvider": "Cadarnhewch nad ydych am fod yn ddarparwr tystysgrif",
"confirmYouDoNotWantToBeACertificateProviderContent": "<p class=\"govuk-body\">Welsh {{ .DonorFullNamePossessive }} Welsh :</p> <div class=\"govuk-inset-text\"> <p class=\"govuk-!-margin-bottom-1\"><span class=\"govuk-!-font-weight-bold\">Welsh:</span> {{ .LpaType }}</p> <p class=\"govuk-!-margin-bottom-1 govuk-!-margin-top-1\"><span class=\"govuk-!-font-weight-bold\">Welsh:</span> {{ .LpaUID }}</p> </div>",
"whenYouSelectConfirmWeWillContactDonor": "Welsh {{ .DonorFirstNames }} Welsh",
"youHaveConfirmedYouDoNotWantToBeCertificateProvider": "Welsh {{.DonorFullNamePossessive}} Welsh",
"youHaveConfirmedYouDoNotWantToBeACertificateProvider": "Welsh",
"youHaveConfirmedYouDoNotWantToBeDonorsCertificateProvider": "Welsh {{.DonorFullNamePossessive}} Welsh",
"reportAConcernContent": "<h2 class=\"govuk-heading-m\">Welsh</h2> <p class=\"govuk-body\">Welsh:</p> <ul class=\"govuk-list govuk-list--bullet\"> <li>Welsh: 0115 934 2777</li> <li>Welsh: <a class=\"govuk-link\" href=\"mailto:[email protected]\">[email protected]</a> </li> </ul> <p class=\"govuk-body\">Welsh <a class=\"govuk-link\" href=\"#\">Welsh</a> Welsh</p>",
"yourAddress": "Welsh",
"yourAddressWarning": "Welsh",
Expand Down
3 changes: 2 additions & 1 deletion lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1114,7 +1114,8 @@
"confirmYouDoNotWantToBeACertificateProvider": "Confirm you do not want to be the certificate provider",
"confirmYouDoNotWantToBeACertificateProviderContent": "<p class=\"govuk-body\">You have told us that you do not want to be the certificate provide for {{ .DonorFullNamePossessive }} LPA :</p> <div class=\"govuk-inset-text\"> <p class=\"govuk-!-margin-bottom-1\"><span class=\"govuk-!-font-weight-bold\">LPA type:</span> {{ .LpaType }}</p> <p class=\"govuk-!-margin-bottom-1 govuk-!-margin-top-1\"><span class=\"govuk-!-font-weight-bold\">LPA number:</span> {{ .LpaUID }}</p> </div>",
"whenYouSelectConfirmWeWillContactDonor": "When you select ‘Confirm’ we will contact {{ .DonorFirstNames }} to tell them what they should do next.",
"youHaveConfirmedYouDoNotWantToBeCertificateProvider": "You have confirmed that you do not want to be {{.DonorFullNamePossessive}} certificate provider.",
"youHaveConfirmedYouDoNotWantToBeACertificateProvider": "You have confirmed that you do not want to be a certificate provider.",
"youHaveConfirmedYouDoNotWantToBeDonorsCertificateProvider": "You have confirmed that you do not want to be {{.DonorFullNamePossessive}} certificate provider.",
"reportAConcernContent": "<h2 class=\"govuk-heading-m\">Report a concern</h2> <p class=\"govuk-body\">If you have concerns about this LPA you can contact our safeguarding team:</p> <ul class=\"govuk-list govuk-list--bullet\"> <li>call: 0115 934 2777</li> <li>email: <a class=\"govuk-link\" href=\"mailto:[email protected]\">[email protected]</a> </li> </ul> <p class=\"govuk-body\">You can also <a class=\"govuk-link\" href=\"#\">report a concern</a> using our online form.</p>",
"yourAddress": "Your address",
"yourAddressWarning": "You should only enter your address. You cannot make an LPA for someone else using your account.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{{ template "page" . }}

{{ define "pageTitle" }}{{ trFormat .App "youHaveConfirmedYouDoNotWantToBeCertificateProvider" "DonorFullNamePossessive" (.App.Query.Get "donorFullNamePossessive") }}{{ end }}
{{ define "pageTitle" }}{{ tr .App "youHaveConfirmedYouDoNotWantToBeACertificateProvider"}}{{ end }}

{{ define "main" }}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<div class="govuk-panel govuk-panel--confirmation">
<h1 class="govuk-panel__title">
{{ template "pageTitle" . }}
{{ trFormat .App "youHaveConfirmedYouDoNotWantToBeDonorsCertificateProvider" "DonorFullNamePossessive" (.App.Query.Get "donorFullNamePossessive") }}
</h1>
</div>

Expand Down

0 comments on commit 71972f9

Please sign in to comment.