welsh text amends on reps
This commit is contained in:
@@ -324,45 +324,46 @@ export const RenderCondtionalRadioList = ({
|
|||||||
className="govuk-label govuk-radios__label"
|
className="govuk-label govuk-radios__label"
|
||||||
htmlFor={id + "_" + index}
|
htmlFor={id + "_" + index}
|
||||||
>
|
>
|
||||||
{options[key]}
|
{options[key] == "Yes"
|
||||||
|
? t(
|
||||||
|
"myrepresentations:questionnaire-yes"
|
||||||
|
)
|
||||||
|
: t(
|
||||||
|
"myrepresentations:questionnaire-no"
|
||||||
|
)}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{value ==
|
{value == "Yes" && options[key] == "Yes" && (
|
||||||
t("myrepresentations:questionnaire-yes") &&
|
<div
|
||||||
options[key] ==
|
className="govuk-radios__conditional "
|
||||||
t(
|
id={"conditional-" + id}
|
||||||
"myrepresentations:questionnaire-yes"
|
>
|
||||||
) && (
|
|
||||||
<div
|
<div
|
||||||
className="govuk-radios__conditional "
|
className="govuk-form-group"
|
||||||
id={"conditional-" + id}
|
key={"yes_group_" + key}
|
||||||
>
|
>
|
||||||
<div
|
<label
|
||||||
className="govuk-form-group"
|
className="govuk-label"
|
||||||
key={"yes_group_" + key}
|
htmlFor={id + "_details"}
|
||||||
>
|
>
|
||||||
<label
|
{t(
|
||||||
className="govuk-label"
|
"myrepresentations:representation-onbehalfof-label"
|
||||||
htmlFor={id + "_details"}
|
)}
|
||||||
>
|
</label>
|
||||||
{t(
|
<Field
|
||||||
"myrepresentations:representation-onbehalfof-label"
|
className="govuk-input govuk-!-width-one-half"
|
||||||
)}
|
id={id + "_details"}
|
||||||
</label>
|
name={id + "_details"}
|
||||||
<Field
|
component={RenderTextfield}
|
||||||
className="govuk-input govuk-!-width-one-half"
|
type="text"
|
||||||
id={id + "_details"}
|
validate={[required]}
|
||||||
name={id + "_details"}
|
errorMsg={t(
|
||||||
component={RenderTextfield}
|
"myrepresentations:is-required-label"
|
||||||
type="text"
|
)}
|
||||||
validate={[required]}
|
/>
|
||||||
errorMsg={t(
|
|
||||||
"myrepresentations:is-required-label"
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
)}
|
</div>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -285,10 +285,27 @@ const TopThree = (props) => {
|
|||||||
'$..[?(@.value=="' +
|
'$..[?(@.value=="' +
|
||||||
showTopThreeArr[key]
|
showTopThreeArr[key]
|
||||||
.representationCapacity +
|
.representationCapacity +
|
||||||
'")].value_cy',
|
'" ||@.value_cy=="' +
|
||||||
|
showTopThreeArr[key]
|
||||||
|
.representationCapacity +
|
||||||
|
'" )].value_cy',
|
||||||
transLookup
|
transLookup
|
||||||
)
|
)
|
||||||
: showTopThreeArr[key].representationCapacity || ""}
|
: jsonpath(
|
||||||
|
'$..[?(@.value_cy=="' +
|
||||||
|
showTopThreeArr[key]
|
||||||
|
.representationCapacity +
|
||||||
|
'")].value',
|
||||||
|
transLookup
|
||||||
|
).length > 0
|
||||||
|
? jsonpath(
|
||||||
|
'$..[?(@.value_cy=="' +
|
||||||
|
showTopThreeArr[key]
|
||||||
|
.representationCapacity +
|
||||||
|
'")].value',
|
||||||
|
transLookup
|
||||||
|
)
|
||||||
|
: showTopThreeArr[key].representationCapacity}
|
||||||
</div>
|
</div>
|
||||||
<div className="cardModuleReference">
|
<div className="cardModuleReference">
|
||||||
<b>{t("myportal:date-raised")}:</b>
|
<b>{t("myportal:date-raised")}:</b>
|
||||||
|
|||||||
@@ -46,10 +46,10 @@
|
|||||||
"rep-complete-para-three": "Byddwch yn derbyn cadarnhad yn fuan a anfonir at y cyfeiriad e-bost a roddwyd gennych.",
|
"rep-complete-para-three": "Byddwch yn derbyn cadarnhad yn fuan a anfonir at y cyfeiriad e-bost a roddwyd gennych.",
|
||||||
"lpa-capacity-para-one": "Mae’r ffurflen hon yn eich galluogi i gyflwyno datganiadau, sylwadau a holiaduron ar achos i Benderfyniadau Cynllunio ac Amgylchedd Cymru.",
|
"lpa-capacity-para-one": "Mae’r ffurflen hon yn eich galluogi i gyflwyno datganiadau, sylwadau a holiaduron ar achos i Benderfyniadau Cynllunio ac Amgylchedd Cymru.",
|
||||||
"s78-section-heading-one": "Y weithdrefn apelio ac ymweliad safle",
|
"s78-section-heading-one": "Y weithdrefn apelio ac ymweliad safle",
|
||||||
"s78-section-question-1": "Cyfeirnod PCAC:",
|
"s78-section-question-1": "Cyfeirnod PCAC",
|
||||||
"s78-section-question-2": "Cyfeirnod yr ACLl:",
|
"s78-section-question-2": "Cyfeirnod yr ACLl",
|
||||||
"s78-section-question-4": "Math o apêl:",
|
"s78-section-question-4": "Math o apêl",
|
||||||
"s78-section-question-3": "Cyfeiriad y Safle:",
|
"s78-section-question-3": "Cyfeiriad y Safle",
|
||||||
"s78-section-question-5": "Pa weithdrefn ydych chi'n credu y dylai'r apêl ei dilyn?",
|
"s78-section-question-5": "Pa weithdrefn ydych chi'n credu y dylai'r apêl ei dilyn?",
|
||||||
"s78-section-question-6": "A fydd angen i'r Arolygydd fynd i mewn i safle/eiddo'r apêl?",
|
"s78-section-question-6": "A fydd angen i'r Arolygydd fynd i mewn i safle/eiddo'r apêl?",
|
||||||
"s78-section-question-7": "A ydych chi'n credu bod angen i'r Arolygydd fynd ar dir/eiddo preifat cyfagos i weld y safle?",
|
"s78-section-question-7": "A ydych chi'n credu bod angen i'r Arolygydd fynd ar dir/eiddo preifat cyfagos i weld y safle?",
|
||||||
|
|||||||
Reference in New Issue
Block a user