From 6fd09406f0580ae2dc2b2dd03a66c7e7fd5c95db Mon Sep 17 00:00:00 2001 From: Joshua Hawxwell Date: Thu, 10 Oct 2024 12:54:35 +0100 Subject: [PATCH] Update content after selecting hardship --- lang/cy.json | 1 + lang/en.json | 1 + web/template/donor/evidence_successfully_uploaded.gohtml | 6 ++++-- web/template/donor/what_happens_next_post_evidence.gohtml | 6 ++++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/lang/cy.json b/lang/cy.json index 952de761b0..3c320961f5 100644 --- a/lang/cy.json +++ b/lang/cy.json @@ -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.", diff --git a/lang/en.json b/lang/en.json index db268e0df1..0e9c6e3442 100644 --- a/lang/en.json +++ b/lang/en.json @@ -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", diff --git a/web/template/donor/evidence_successfully_uploaded.gohtml b/web/template/donor/evidence_successfully_uploaded.gohtml index 8bb7dedf58..7a1b114a7c 100644 --- a/web/template/donor/evidence_successfully_uploaded.gohtml +++ b/web/template/donor/evidence_successfully_uploaded.gohtml @@ -33,8 +33,10 @@

{{ 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 }} @@ -43,7 +45,7 @@

{{ tr .App "ifYourApplicationIsNotSuccessful" }}

{{ tr .App "weWillContactYouIfWeNeedMoreInformation" }}

- {{ if not .Donor.FeeType.IsRepeatApplicationFee }} + {{ if not (or .Donor.FeeType.IsRepeatApplicationFee .Donor.FeeType.IsHardshipFee) }} {{ template "details" (details . "appealingTheDecision" "appealingTheDecisionDetails" false) }} {{ end }} diff --git a/web/template/donor/what_happens_next_post_evidence.gohtml b/web/template/donor/what_happens_next_post_evidence.gohtml index ef2e9f84d9..4d6fa20b87 100644 --- a/web/template/donor/what_happens_next_post_evidence.gohtml +++ b/web/template/donor/what_happens_next_post_evidence.gohtml @@ -13,8 +13,10 @@

{{ 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 }} @@ -23,7 +25,7 @@

{{ tr .App "ifYourApplicationIsNotSuccessful" }}

{{ tr .App "weWillContactYouIfWeNeedMoreInformation" }}

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