Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CIV-14710 - CUI R1 - View Your Response link is not working from the Dashboard notification #5123

Merged
merged 5 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@ void should_create_go_to_hearing_scenario() throws Exception {
jsonPath("$[0].descriptionEn")
.value(
"<p class=\"govuk-body\">Mr. John Rambo wants to proceed with the claim. They said no to mediation." +
" The case will be referred to a judge who will decide what should happen next.</p> <p class=\"govuk-body\">You can <a href={VIEW_DEFENDANT_RESPONSE} class=\"govuk-link\">view your" +
" The case will be referred to a judge who will decide what should happen next.</p> <p class=\"govuk-body\">You can <a href={VIEW_RESPONSE_TO_CLAIM} class=\"govuk-link\">view your" +
" response</a> or <a target=\"_blank\" href={VIEW_CLAIMANT_HEARING_REQS} rel=\"noopener noreferrer\" class=\"govuk-link\">view the claimant's hearing requirements</a>.</p>"),
jsonPath("$[0].titleCy").value("Aros i’r llys adolygu’r achos"),
jsonPath("$[0].descriptionCy")
.value(
"<p class=\"govuk-body\">Mae Mr. John Rambo eisiau parhau â’r hawliad. Mi wnaethant wrthod rhoi cynnig ar gyfryngu." +
" Bydd yr achos yn cael ei gyfeirio at farnwr a fydd yn penderfynu beth ddylai ddigwydd nesaf.</p> <p class=\"govuk-body\">Gallwch" +
" <a href={VIEW_DEFENDANT_RESPONSE} class=\"govuk-link\">weld eich ymateb</a> neu <a target=\"_blank\" href={VIEW_CLAIMANT_HEARING_REQS} rel=\"noopener noreferrer\" class=\"govuk-link\">weld gofynion ar gyfer y gwrandawiad yr hawlydd</a>.</p>")
" <a href={VIEW_RESPONSE_TO_CLAIM} class=\"govuk-link\">weld eich ymateb</a> neu <a target=\"_blank\" href={VIEW_CLAIMANT_HEARING_REQS} rel=\"noopener noreferrer\" class=\"govuk-link\">weld gofynion ar gyfer y gwrandawiad yr hawlydd</a>.</p>")
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ void should_create_scenario_for_defendant_ccj_requested_defendant_rejects_settle
"is removed from the public register. You can pay £15 to <a href={APPLY_FOR_CERTIFICATE} " +
"class=\"govuk-link\" target=\"_blank\" rel=\"noopener noreferrer\">apply for a certificate (opens in new tab)</a> " +
"that confirms this.</p><p class=\"govuk-body\"><a href=\"{CITIZEN_CONTACT_THEM_URL}\" class=\"govuk-link\">Contact Mr. John Rambo</a> " +
"if you need their payment details.</p><p class=\"govuk-body\"><a href={VIEW_DEFENDANT_RESPONSE} class=\"govuk-link\">View your response</a></p>"),
"if you need their payment details.</p><p class=\"govuk-body\"><a href={VIEW_RESPONSE_TO_CLAIM} class=\"govuk-link\">View your response</a></p>"),
jsonPath("$[0].titleCy").value("Mae Mr. John Rambo wedi gwneud cais am Ddyfarniad Llys Sirol yn eich erbyn"),
jsonPath("$[0].descriptionCy")
.value(
Expand All @@ -60,7 +60,7 @@ void should_create_scenario_for_defendant_ccj_requested_defendant_rejects_settle
"target=\"_blank\" rel=\"noopener noreferrer\">" +
" wneud cais am dystysgrif (yn agor mewn tab newydd)</a> sy’n cadarnhau hyn.</p>" +
"<p class=\"govuk-body\"><a href=\"{CITIZEN_CONTACT_THEM_URL}\" class=\"govuk-link\">Cysylltwch â Mr. John Rambo</a>" +
" os oes arnoch angen eu manylion talu.</p><p class=\"govuk-body\"><a href={VIEW_DEFENDANT_RESPONSE} class=\"govuk-link\">Gweld eich ymateb</a></p>")
" os oes arnoch angen eu manylion talu.</p><p class=\"govuk-body\"><a href={VIEW_RESPONSE_TO_CLAIM} class=\"govuk-link\">Gweld eich ymateb</a></p>")

);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ INSERT INTO dbs.dashboard_notifications_templates (template_name, title_En, titl
,notification_role)
VALUES ('Notice.AAA6.ClaimantIntent.GoToHearing.DefFullDefence.ClaimantDisputes.NoMediation.Defendant',
'Wait for the court to review the case', 'Aros i’r llys adolygu’r achos',
'<p class="govuk-body">${applicant1PartyName} wants to proceed with the claim. They said no to mediation. The case will be referred to a judge who will decide what should happen next.</p> <p class="govuk-body">You can <a href={VIEW_DEFENDANT_RESPONSE} class="govuk-link">view your response</a> or <a target="_blank" href={VIEW_CLAIMANT_HEARING_REQS} rel="noopener noreferrer" class="govuk-link">view the claimant''s hearing requirements</a>.</p>',
'<p class="govuk-body">Mae ${applicant1PartyName} eisiau parhau â’r hawliad. Mi wnaethant wrthod rhoi cynnig ar gyfryngu. Bydd yr achos yn cael ei gyfeirio at farnwr a fydd yn penderfynu beth ddylai ddigwydd nesaf.</p> <p class="govuk-body">Gallwch <a href={VIEW_DEFENDANT_RESPONSE} class="govuk-link">weld eich ymateb</a> neu <a target="_blank" href={VIEW_CLAIMANT_HEARING_REQS} rel="noopener noreferrer" class="govuk-link">weld gofynion ar gyfer y gwrandawiad yr hawlydd</a>.</p>',
'<p class="govuk-body">${applicant1PartyName} wants to proceed with the claim. They said no to mediation. The case will be referred to a judge who will decide what should happen next.</p> <p class="govuk-body">You can <a href={VIEW_RESPONSE_TO_CLAIM} class="govuk-link">view your response</a> or <a target="_blank" href={VIEW_CLAIMANT_HEARING_REQS} rel="noopener noreferrer" class="govuk-link">view the claimant''s hearing requirements</a>.</p>',
'<p class="govuk-body">Mae ${applicant1PartyName} eisiau parhau â’r hawliad. Mi wnaethant wrthod rhoi cynnig ar gyfryngu. Bydd yr achos yn cael ei gyfeirio at farnwr a fydd yn penderfynu beth ddylai ddigwydd nesaf.</p> <p class="govuk-body">Gallwch <a href={VIEW_RESPONSE_TO_CLAIM} class="govuk-link">weld eich ymateb</a> neu <a target="_blank" href={VIEW_CLAIMANT_HEARING_REQS} rel="noopener noreferrer" class="govuk-link">weld gofynion ar gyfer y gwrandawiad yr hawlydd</a>.</p>',
'DEFENDANT');

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ VALUES ('Notice.AAA6.ClaimantIntent.RequestCCJ.ClaimantAcceptOrRejectPlan.Settle
'<p class="govuk-body">${applicant1PartyName} ${claimantRepaymentPlanDecision} your repayment plan and asked you to sign a settlement. You did not sign the agreement.</p>'
'<p class="govuk-body">When we''ve processed the request, we''ll post a copy of the judgment to you.</p>'
'<p class="govuk-body">If you pay the debt within one month of the date of judgment, the County Court Judgment (CCJ) is removed from the public register. You can pay £15 to <a href={APPLY_FOR_CERTIFICATE} class="govuk-link" target="_blank" rel="noopener noreferrer">apply for a certificate (opens in new tab)</a> that confirms this.</p>'
'<p class="govuk-body"><a href="{CITIZEN_CONTACT_THEM_URL}" class="govuk-link">Contact ${applicant1PartyName}</a> if you need their payment details.</p><p class="govuk-body"><a href={VIEW_DEFENDANT_RESPONSE} class="govuk-link">View your response</a></p>',
'<p class="govuk-body"><a href="{CITIZEN_CONTACT_THEM_URL}" class="govuk-link">Contact ${applicant1PartyName}</a> if you need their payment details.</p><p class="govuk-body"><a href={VIEW_RESPONSE_TO_CLAIM} class="govuk-link">View your response</a></p>',
'<p class="govuk-body">Mae ${applicant1PartyName} wedi ${claimantRepaymentPlanDecisionCy} eich cynllun ad-dalu ac wedi gofyn i chi lofnodi setliad. Ni wnaethoch lofnodi’r cytundeb.</p>'
'<p class="govuk-body">Pan fyddwn wedi prosesu’r cais, byddwn yn anfon copi o’r dyfarniad drwy''r post atoch chi.</p>'
'<p class="govuk-body">Os byddwch yn talu’r ddyled o fewn mis o ddyddiad y dyfarniad, bydd y Dyfarniad Llys Sirol (CCJ) yn cael ei ddileu o’r gofrestr gyhoeddus. Gallwch dalu £15 i <a href={APPLY_FOR_CERTIFICATE} class="govuk-link" target="_blank" rel="noopener noreferrer"> wneud cais am dystysgrif (yn agor mewn tab newydd)</a> sy’n cadarnhau hyn.</p>'
'<p class="govuk-body"><a href="{CITIZEN_CONTACT_THEM_URL}" class="govuk-link">Cysylltwch â ${applicant1PartyName}</a> os oes arnoch angen eu manylion talu.</p><p class="govuk-body"><a href={VIEW_DEFENDANT_RESPONSE} class="govuk-link">Gweld eich ymateb</a></p>',
'<p class="govuk-body"><a href="{CITIZEN_CONTACT_THEM_URL}" class="govuk-link">Cysylltwch â ${applicant1PartyName}</a> os oes arnoch angen eu manylion talu.</p><p class="govuk-body"><a href={VIEW_RESPONSE_TO_CLAIM} class="govuk-link">Gweld eich ymateb</a></p>',
'DEFENDANT');
Loading