Skip to content

Commit

Permalink
Merge pull request #1545 from ministryofjustice/MLPAB-2249-after-hard…
Browse files Browse the repository at this point in the history
…ship

MLPAB-2249 Update content after selecting hardship
  • Loading branch information
hawx authored Oct 11, 2024
2 parents a24f837 + 6fd0940 commit 018f027
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions lang/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,7 @@
"ifYourApplicationIsSuccessful": "Os bydd eich cais yn llwyddiannus",
"onceWeHaveApprovedYourPayment": "Unwaith y byddwn wedi cymeradwyo’ch taliad, byddwn yn cysylltu â’ch darparwr tystysgrif er mwyn iddo ddarparu ei dystysgrif.",
"onceWeHaveApprovedYourRequest": "Welsh",
"onceWeHaveApprovedYourHardshipRequest": "Welsh",
"onceWeHaveApprovedYourRepeatApplication": "Welsh",
"ifYourApplicationIsNotSuccessful": "Os na fydd eich cais yn llwyddiannus",
"weWillContactYouIfWeNeedMoreInformation": "Byddwn yn cysylltu â chi os bydd arnom angen mwy o wybodaeth neu os nad oedd eich cais yn llwyddiannus.",
Expand Down
1 change: 1 addition & 0 deletions lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@
"onceWeHaveApprovedYourPayment": "Once we have approved your payment, we will contact your certificate provider to provide their certificate.",
"onceWeHaveApprovedYourRequest": "Once we have approved your request, we will contact your certificate provider to provide their certificate.",
"onceWeHaveApprovedYourRepeatApplication": "Once we have approved your repeat application, we will contact your certificate provider to provide their certificate.",
"onceWeHaveApprovedYourHardshipRequest": "Once we have approved your hardship request, we will contact your certificate provider to provide their certificate.",
"ifYourApplicationIsNotSuccessful": "If your application is not successful",
"weWillContactYouIfWeNeedMoreInformation": "We will contact you if we need more information or if your application is unsuccessful.",
"applicationNoFee": "application to pay no fee",
Expand Down
6 changes: 4 additions & 2 deletions web/template/donor/evidence_successfully_uploaded.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
<p class="govuk-body">
{{ if .Donor.FeeType.IsNoFee }}
{{ tr .App "onceWeHaveApprovedYourRequest" }}
{{ else if and .Donor.FeeType.IsRepeatApplicationFee }}
{{ else if .Donor.FeeType.IsRepeatApplicationFee }}
{{ tr .App "onceWeHaveApprovedYourRepeatApplication" }}
{{ else if .Donor.FeeType.IsHardshipFee }}
{{ tr .App "onceWeHaveApprovedYourHardshipRequest" }}
{{ else }}
{{ tr .App "onceWeHaveApprovedYourPayment" }}
{{ end }}
Expand All @@ -43,7 +45,7 @@
<h3 class="govuk-heading-s">{{ tr .App "ifYourApplicationIsNotSuccessful" }}</h3>
<p class="govuk-body">{{ tr .App "weWillContactYouIfWeNeedMoreInformation" }}</p>

{{ if not .Donor.FeeType.IsRepeatApplicationFee }}
{{ if not (or .Donor.FeeType.IsRepeatApplicationFee .Donor.FeeType.IsHardshipFee) }}
{{ template "details" (details . "appealingTheDecision" "appealingTheDecisionDetails" false) }}
{{ end }}

Expand Down
6 changes: 4 additions & 2 deletions web/template/donor/what_happens_next_post_evidence.gohtml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
<p class="govuk-body">
{{ if .Donor.FeeType.IsNoFee }}
{{ tr .App "onceWeHaveApprovedYourRequest" }}
{{ else if and .Donor.FeeType.IsRepeatApplicationFee }}
{{ else if .Donor.FeeType.IsRepeatApplicationFee }}
{{ tr .App "onceWeHaveApprovedYourRepeatApplication" }}
{{ else if .Donor.FeeType.IsHardshipFee }}
{{ tr .App "onceWeHaveApprovedYourHardshipRequest" }}
{{ else }}
{{ tr .App "onceWeHaveApprovedYourPayment" }}
{{ end }}
Expand All @@ -23,7 +25,7 @@
<h2 class="govuk-heading-m">{{ tr .App "ifYourApplicationIsNotSuccessful" }}</h2>
<p class="govuk-body">{{ tr .App "weWillContactYouIfWeNeedMoreInformation" }}</p>

{{ if not .Donor.FeeType.IsRepeatApplicationFee }}
{{ if not (or .Donor.FeeType.IsRepeatApplicationFee .Donor.FeeType.IsHardshipFee) }}
{{ template "details" (details . "appealingTheDecision" "appealingTheDecisionDetails" false) }}
{{ end }}

Expand Down

0 comments on commit 018f027

Please sign in to comment.