Skip to content

Commit

Permalink
ADOP-2559 Improve wording so Citizens expect Adoption application-sub…
Browse files Browse the repository at this point in the history
…mitted page and confirmation email (#1610)

* [ADOP-2559] add wording so Citizens expect confirmation email and application submitted page

* linting

* [ADOP-2559] indenting one paragraph for readability
  • Loading branch information
hfilmore authored Jan 6, 2025
1 parent 25b6c9d commit ca80179
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
12 changes: 10 additions & 2 deletions src/main/steps/review-pay-submit/pay-and-submit/content.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ const enContent = {
line1:
'You will be taken to the payment page. Your application will be submitted to the local authority and they will be asked to progress it. You cannot edit the application once it has been submitted.',
line2:
'Once you have paid you will be taken to a page with your reference number and we will send you a confirmation email. If you do not receive this, you should check your junk or spam folder.',
line3:
'If you are not taken to the page with your reference number and you do not receive an email confirming your application has been submitted, please log out and log in again later. If you don\'t receive confirmation that it has been submitted within 2 working days, <a class="govuk-link" href="/contact-us">contact your local court</a>.',
line4:
"If you're applying for more than one child, you must submit a new application for each child. You will not be charged if you submit these before midnight on the day of your first application. If you submit after the day of the first application, you will be charged another £undefined. You must sign in using the same email address and password used in your first application.",
line3: 'A confirmation email of your payment will be sent to you.',
line5: 'A separate confirmation email of your payment will be sent to you.',
payandsubmit: 'Pay and submit application',
};

Expand All @@ -22,8 +26,12 @@ const cyContent = {
line1:
'Byddwch yn cael eich ailgyfeirio i’r dudalen talu. Fe gyflwynir eich cais i’r awdurdod lleol ac fe ofynnir iddynt ei brosesu ymhellach. Ni allwch olygu’r cais unwaith y bydd wedi’i gyflwyno.',
line2:
'Unwaith y byddwch wedi talu byddwch yn mynd ymlaen i dudalen gyda’ch cyfeirnod a byddwn yn anfon e-bost cadarnhau atoch. Os nad ydych yn cael y neges hon, dylech wirio eich ffolder sothach neu spam.',
line3:
'Os na fyddwch yn mynd ymlaen i’r dudalen gyda’ch cyfeirnod ac nad ydych yn derbyn e-bost yn cadarnhau bod eich cais wedi’i gyflwyno, allgofnodwch a mewngofnodwch eto hwyrach ymlaen. Os na chewch gadarnhad ei fod wedi’i gyflwyno o fewn 2 diwrnod gwaith, <a class="govuk-link" href="/contact-us">cysylltwch â’ch llys lleol</a>.',
line4:
'Os ydych chi’n gwneud cais i fabwysiadu mwy nag un plentyn, mae’n rhaid i chi gyflwyno cais newydd ar gyfer pob plentyn. Ni chodir ffi arall arnoch os byddwch yn cyflwyno’r ceisiadau hyn cyn hanner nos ar ddyddiad cyflwyno’ch cais cyntaf. Os byddwch yn eu cyflwyno ar ôl dyddiad cyflwyno’r cais cyntaf, yna bydd rhaid i chi dalu £undefined arall. Mae’n rhaid ichi fewngofnodi gan ddefnyddio’r un cyfeiriad e-bost a chyfrinair a ddefnyddiwyd ar gyfer eich cais cyntaf.',
line3: 'Fe anfonir e-bost cadarnhau ar gyfer eich taliad atoch.',
line5: 'Fe anfonir e-bost cadarnhau ar wahân atoch ar gyfer eich taliad.',
payandsubmit: 'Talu a chyflwyno cais',
};

Expand Down
16 changes: 12 additions & 4 deletions src/main/steps/review-pay-submit/pay-and-submit/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ const en = content => ({
title: 'Pay and submit',
line1:
'You will be taken to the payment page. Your application will be submitted to the local authority and they will be asked to progress it. You cannot edit the application once it has been submitted.',
line2: `If you're applying for more than one child, you must submit a new application for each child. You will not be charged if you submit these before midnight on the day of your first application. If you submit after the day of the first application, you will be charged another £${content.fee?.FeeAmount}. You must sign in using the same email address and password used in your first application.`,
line3: 'A confirmation email of your payment will be sent to you.',
line2:
'Once you have paid you will be taken to a page with your reference number and we will send you a confirmation email. If you do not receive this, you should check your junk or spam folder.',
line3:
'If you are not taken to the page with your reference number and you do not receive an email confirming your application has been submitted, please log out and log in again later. If you don\'t receive confirmation that it has been submitted within 2 working days, <a class="govuk-link" href="/contact-us">contact your local court</a>.',
line4: `If you're applying for more than one child, you must submit a new application for each child. You will not be charged if you submit these before midnight on the day of your first application. If you submit after the day of the first application, you will be charged another £${content.fee?.FeeAmount}. You must sign in using the same email address and password used in your first application.`,
line5: 'A separate confirmation email of your payment will be sent to you.',
payandsubmit: 'Pay and submit application',
});

Expand All @@ -15,8 +19,12 @@ const cy: typeof en = content => ({
title: 'Talu a chyflwyno',
line1:
'Byddwch yn cael eich ailgyfeirio i’r dudalen talu. Fe gyflwynir eich cais i’r awdurdod lleol ac fe ofynnir iddynt ei brosesu ymhellach. Ni allwch olygu’r cais unwaith y bydd wedi’i gyflwyno.',
line2: `Os ydych chi’n gwneud cais i fabwysiadu mwy nag un plentyn, mae’n rhaid i chi gyflwyno cais newydd ar gyfer pob plentyn. Ni chodir ffi arall arnoch os byddwch yn cyflwyno’r ceisiadau hyn cyn hanner nos ar ddyddiad cyflwyno’ch cais cyntaf. Os byddwch yn eu cyflwyno ar ôl dyddiad cyflwyno’r cais cyntaf, yna bydd rhaid i chi dalu £${content.fee?.FeeAmount} arall. Mae’n rhaid ichi fewngofnodi gan ddefnyddio’r un cyfeiriad e-bost a chyfrinair a ddefnyddiwyd ar gyfer eich cais cyntaf.`,
line3: 'Fe anfonir e-bost cadarnhau ar gyfer eich taliad atoch.',
line2:
'Unwaith y byddwch wedi talu byddwch yn mynd ymlaen i dudalen gyda’ch cyfeirnod a byddwn yn anfon e-bost cadarnhau atoch. Os nad ydych yn cael y neges hon, dylech wirio eich ffolder sothach neu spam.',
line3:
'Os na fyddwch yn mynd ymlaen i’r dudalen gyda’ch cyfeirnod ac nad ydych yn derbyn e-bost yn cadarnhau bod eich cais wedi’i gyflwyno, allgofnodwch a mewngofnodwch eto hwyrach ymlaen. Os na chewch gadarnhad ei fod wedi’i gyflwyno o fewn 2 diwrnod gwaith, <a class="govuk-link" href="/contact-us">cysylltwch â’ch llys lleol</a>.',
line4: `Os ydych chi’n gwneud cais i fabwysiadu mwy nag un plentyn, mae’n rhaid i chi gyflwyno cais newydd ar gyfer pob plentyn. Ni chodir ffi arall arnoch os byddwch yn cyflwyno’r ceisiadau hyn cyn hanner nos ar ddyddiad cyflwyno’ch cais cyntaf. Os byddwch yn eu cyflwyno ar ôl dyddiad cyflwyno’r cais cyntaf, yna bydd rhaid i chi dalu £${content.fee?.FeeAmount} arall. Mae’n rhaid ichi fewngofnodi gan ddefnyddio’r un cyfeiriad e-bost a chyfrinair a ddefnyddiwyd ar gyfer eich cais cyntaf.`,
line5: 'Fe anfonir e-bost cadarnhau ar wahân atoch ar gyfer eich taliad.',
payandsubmit: 'Talu a chyflwyno cais',
});

Expand Down
7 changes: 6 additions & 1 deletion src/main/steps/review-pay-submit/pay-and-submit/template.njk
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% from "govuk/components/inset-text/macro.njk" import govukInsetText %}
{% extends "common/page.njk" %}
{% block content %}
<div class="govuk-width-container">
Expand All @@ -10,7 +11,11 @@

<p class="govuk-body">{{ line1 }}</p>
<p class="govuk-body">{{ line2 }}</p>
<p class="govuk-body">{{ line3 }}</p>

{{ govukInsetText( {text: line3 | safe }) }}

<p class="govuk-body">{{ line4 }}</p>
<p class="govuk-body">{{ line5 }}</p>

<a href="/review-pay-submit/payment/pay-your-fee" role="button" draggable="false" class="govuk-button" data-module="govuk-button">
{{payandsubmit}}
Expand Down

0 comments on commit ca80179

Please sign in to comment.