Skip to content

Commit

Permalink
MLPAB-1262 Correct the content for the page to get a new code (#791)
Browse files Browse the repository at this point in the history
And fix lpa type selection in fixtures
  • Loading branch information
hawx authored Oct 24, 2023
1 parent 58ff19d commit 558bd9a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lang/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -548,8 +548,7 @@
"pleaseWaitOneMinute": "welsh",
"tooManyWitnessCodeAttempts": "welsh",
"textMessagesSometimesTakeAFewMinutes": "welsh",
"requestANewCode": "welsh",
"requestANewWitnessCode": "welsh",
"getANewCode": "welsh",
"confirmYourIdentity": "Cadarnhau pwy ydych chi",
"confirmYourIdentityContent": "<p class=\"govuk-body\">Welsh.</p><h2 class=\"govuk-heading-m\">Welsh</h2><p class=\"govuk-body\">Welsh:</p><ul class=\"govuk-list govuk-list--bullet govuk-list--spaced\"><li><span class=\"govuk-body govuk-!-font-weight-bold\">Welsh</span></li></ul>",
"enterYourDateOfBirth": "Rhowch eich dyddiad geni",
Expand Down Expand Up @@ -675,6 +674,7 @@
"viewAndManageAttorney": "Gweld a rheoli’r holl atwrniaethau arhosol lle rydych chi’n cael eich enwi fel atwrnai.",
"viewAndManageCertificateProvider": "Welsh",
"theyDoNotHaveAUkMobileNumber": "Nid oes ganddynt rif ffôn symudol yn y DU",
"iDoNotHaveAUkMobileNumber": "Welsh",
"mobilePhoneNumber": "Rhif ffôn symudol",
"nonUkMobileHint": "Dylech gynnwys cod y wlad, er enghraifft +33 ar gyfer Ffrainc",
"youreResponsibleForMakingSureTheseDetailsAreCorrect": "Chi sy’n gyfrifol am sicrhau bod y manylion hyn yn gywir. Gall unrhyw wallau achosi oedi wrth brosesu eich LPA.",
Expand Down
6 changes: 3 additions & 3 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,9 +495,8 @@
"readDonorNameLpa": "Read {{ .DonorFullName }}’s LPA",
"youMustReadLpaCarefully": "You must read this LPA carefully.",
"peopleToNotifyAboutTheLpa": "People to notify about the LPA",
"requestANewWitnessCode": "Request a new witness code",
"textMessagesSometimesTakeAFewMinutes": "Text messages sometimes take a few minutes to arrive. If you do not receive the text message, you can request a new one.",
"requestANewCode": "Request a new code",
"getANewCode": "Get a new code",
"textMessagesSometimesTakeAFewMinutes": "Text messages sometimes take a few minutes to arrive. If you have not received the text message, you can get a new one.",
"pleaseWaitOneMinute": "Please wait at least one minute for the previous text message to arrive before requesting a new code",
"tooManyWitnessCodeAttempts": "Placeholder",
"confirmYourIdentity": "Confirm your identity",
Expand Down Expand Up @@ -625,6 +624,7 @@
"viewAndManageAttorney": "View and manage all the lasting powers of attorney where you are named as an attorney.",
"viewAndManageCertificateProvider": "View and manage all the lasting powers of attorney where you are named as the certificate provider.",
"theyDoNotHaveAUkMobileNumber": "They do not have a UK mobile number",
"iDoNotHaveAUkMobileNumber": "I do not have a UK mobile number",
"mobilePhoneNumber": "Mobile phone number",
"nonUkMobileHint": "Include the country code, for example +33 for France.",
"youreResponsibleForMakingSureTheseDetailsAreCorrect": "You’re responsible for making sure these details are correct. Any errors can cause delays in processing your LPA.",
Expand Down
2 changes: 1 addition & 1 deletion web/template/change_mobile_number.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="govuk-checkboxes__item">
<input class="govuk-checkboxes__input" id="f-has-non-uk-mobile" name="has-non-uk-mobile" type="checkbox" value="1" data-aria-controls="conditional-has-non-uk-mobile" {{ if .Form.HasNonUKMobile }}checked{{ end }}>
<label class="govuk-label govuk-checkboxes__label" for="f-has-non-uk-mobile">
{{ tr .App "theyDoNotHaveAUkMobileNumber" }}
{{ tr .App "iDoNotHaveAUkMobileNumber" }}
</label>
</div>
<div class="govuk-checkboxes__conditional govuk-checkboxes__conditional--hidden" id="conditional-has-non-uk-mobile">
Expand Down
4 changes: 2 additions & 2 deletions web/template/fixtures.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
</legend>
<div class="govuk-radios govuk-radios--inline" data-module="govuk-radios">
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="type" name="type" type="radio" value="pfa" checked>
<input class="govuk-radios__input" id="type" name="lpa-type" type="radio" value="pfa" checked>
<label class="govuk-label govuk-radios__label" for="type">Property and affairs</label>
</div>
<div class="govuk-radios__item">
<input class="govuk-radios__input" id="type-2" name="type" type="radio" value="hw">
<input class="govuk-radios__input" id="type-2" name="lpa-type" type="radio" value="hw">
<label class="govuk-label govuk-radios__label" for="type-2">Personal welfare</label>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions web/template/resend_witness_code.gohtml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{{ template "page" . }}

{{ define "pageTitle" }}{{ tr .App "requestANewWitnessCode" }}{{ end }}
{{ define "pageTitle" }}{{ tr .App "getANewCode" }}{{ end }}

{{ define "main" }}
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl">{{ tr .App "requestANewWitnessCode" }}</h1>
<h1 class="govuk-heading-xl">{{ tr .App "getANewCode" }}</h1>

<p class="govuk-body">{{ tr .App "textMessagesSometimesTakeAFewMinutes" }}</p>

<form novalidate method="post">
<button id="f-request" type="submit" class="govuk-button" data-module="govuk-button">{{ tr .App "requestANewCode" }}</button>
<button id="f-request" type="submit" class="govuk-button" data-module="govuk-button">{{ tr .App "getANewCode" }}</button>
{{ template "csrf-field" . }}
</form>
</div>
Expand Down

0 comments on commit 558bd9a

Please sign in to comment.