Merged PR 2504: amend paths for reps to exclude long titles

amend paths for reps to exclude long titles

Related work items: #24279
This commit is contained in:
Robert Bond
2026-07-22 15:51:27 +00:00
parent 02507f298c
commit 1258985882
7 changed files with 13 additions and 6 deletions
+4 -2
View File
@@ -571,7 +571,7 @@ let MakeRepresentation = (props) => {
loggedinUserEmail
} = props.props;
const incidentID = props.appealType.caseReference.incidentid;
const currentRef = caseReferenceObj.currentReference;
const currentRef = caseReferenceObj.ticketnumber;
const containerID = accountDetails.containerID;
setSavingStatus(useSaveStatus);
@@ -1004,7 +1004,9 @@ let MakeRepresentation = (props) => {
<RepresentationFlowFormStage
t={t}
appealIsConsultation={appealIsConsultation}
currentReference={
currentReference={ticketnumber}
caseTitle={
currentView.currentReference ||
currentView.caseReference.currentReference
}
whichControl={whichControl}
@@ -4,6 +4,7 @@ const RepresentationFlowFormStage = ({
t,
appealIsConsultation,
currentReference,
caseTitle,
whichControl,
appealIsLocalImpact,
renderDueDate,
@@ -22,7 +23,7 @@ const RepresentationFlowFormStage = ({
: t(
"myrepresentations:make-a-representation-on-label"
)}{" "}
{currentReference}{" "}
{caseTitle}{" "}
</h1>
<div id="rep-form">
@@ -58,7 +58,7 @@ export const buildSubmitEnrichedValues = ({
incidentID:
caseReferenceObj.incidentid ||
caseReferenceObj.repDetails.incidentid,
caseRef: caseReferenceObj.currentReference,
caseRef: caseReferenceObj.ticketnumber,
casereference: caseReferenceObj.currentReference,
pinswg_questionnaireduedate: detailsObj.pinswg_questionnaireduedate,
pinswg_endofrepresentationperiod:
+1 -1
View File
@@ -908,7 +908,7 @@ const CaseSummary = (props) => {
case:
currentType ==
"searchResultsObj"
? detailsObj.pinswg_name
? detailsObj.ticketnumber
: currentType ==
"watchedCases"
? casesObj.pinswg_title
+2
View File
@@ -60,6 +60,8 @@
"rep-check-tandc-para-three": "Cadarnhaf fod pob adran or ffurflen hon wediu llenwin llawn a bod y manylion yn gywir hyd eithaf fy ngwybodaeth.",
"rep-check-tandc-para-four": "Cadarnhaf fy mod wedi darllen yr uchod.",
"rep-check-tandc-para-five": "Hoffwn lawrlwytho copi o'r holiadur hwn ar gyfer fy nghofnodion",
"rep-check-tandc-para-rep-six": "Hoffwn lawrlwytho copi o'r sylw hwn ar gyfer fy nghofnodion",
"rep-check-tandc-para-consultation-six": "Hoffwn lawrlwytho copi o'r ymateb ymgynghori hwn ar gyfer fy nghofnodion",
"rep-complete-heading": "Cyflwyno Sylwadau",
"rep-complete-para-one": "Diolch am gyflwyno eich sylw/sylwadau gan ddefnyddio'r Porth Gwaith Achos Apeliadau.",
"rep-complete-para-two": "Cofiwch fod angen i ni dderbyn unrhyw ddogfennau ategol o fewn y terfyn amser priodol ar gyfer yr achos. Rhaid i unrhyw beth y byddwch yn ei anfon atom gael ei farcio'n glir gyda chyfeirnod yr achos a chyfeiriad y safle (gan gynnwys y cod post, os yw'n hysbys).",
+2
View File
@@ -61,6 +61,8 @@
"rep-check-tandc-para-three": "I confirm that all sections of this form have been fully completed and that the details are correct to the best of my knowledge.",
"rep-check-tandc-para-four": "I confirm I have read the above.",
"rep-check-tandc-para-five": "I wish to download a copy of this questionaire for my records",
"rep-check-tandc-para-rep-six": "I wish to download a copy of this representation for my records",
"rep-check-tandc-para-consultation-six": "I wish to download a copy of this consultation response for my records",
"rep-complete-heading": "Submission of Representation",
"rep-complete-para-one": "Thank you for submitting your representation(s) using the Appeals Casework Portal.",
"rep-complete-para-two": "Please remember that any supporting documentation needs to be received by us within the appropriate deadline for the case. Anything you send to us must be clearly marked with the case reference number and the site address (including the postcode, where known).",
+1 -1
View File
@@ -152,7 +152,7 @@ const RepresentationF = (props) => {
props.awaitingSubmission.awaitingSubmission
}
caseReference={
props.currentView.caseReference.currentReference
props.currentView.caseReference.ticketnumber
}
ticketnumber={
props.currentView.caseReference.ticketnumber