rep defect 45
This commit is contained in:
@@ -124,7 +124,12 @@ const RepAgent = (props) => {
|
||||
name="representationOnBehalfOf"
|
||||
datafieldname="representationOnBehalfOf"
|
||||
// label={t("myrepresentations:capacity-select-what-capacity-label")}
|
||||
options={["Yes", "No"]}
|
||||
options={[
|
||||
t(
|
||||
"myrepresentations:questionnaire-yes"
|
||||
),
|
||||
t("myrepresentations:questionnaire-no"),
|
||||
]}
|
||||
id="representationOnBehalfOf"
|
||||
className="govuk-radios__input"
|
||||
errorMsg={t(
|
||||
@@ -132,9 +137,10 @@ const RepAgent = (props) => {
|
||||
)}
|
||||
component={RenderCondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"Are you acting on behalf of a company, group or organisation?"
|
||||
}
|
||||
legend={t("case:representation-onbehalfof")}
|
||||
hint={t(
|
||||
"myrepresentations:representation-onbehalfof-hint"
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -301,8 +301,7 @@ export const RenderCondtionalRadioList = ({
|
||||
</legend>
|
||||
|
||||
<div id={id + "-hint"} className="govuk-hint">
|
||||
e.g. "Owners of Numbers 1-5 High Street", or "Mr and Mrs
|
||||
Smith" or "The executors of Mr Evans' estate"
|
||||
{custom.hint}
|
||||
</div>
|
||||
<div className="govuk-radios">
|
||||
{Object.keys(options).map((key, index) => (
|
||||
@@ -346,8 +345,9 @@ export const RenderCondtionalRadioList = ({
|
||||
className="govuk-label"
|
||||
htmlFor={id + "_details"}
|
||||
>
|
||||
Enter the name of the
|
||||
company/group/organisation
|
||||
{t(
|
||||
"myrepresentations:representation-onbehalfof-label"
|
||||
)}
|
||||
</label>
|
||||
<Field
|
||||
className="govuk-input govuk-!-width-one-half"
|
||||
@@ -1211,13 +1211,20 @@ export const RenderFileUpload = (field) => {
|
||||
{uploadCountMessage > 0 &&
|
||||
completedUploadFiles == false && (
|
||||
<div className="govuk-body govuk-!-font-size-14">
|
||||
Uploading {uploadCountMessage} files{" "}
|
||||
{t("home:uploading-files-label", {
|
||||
number: uploadCountMessage,
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
{completedUploadFiles > 0 &&
|
||||
uploadCountMessage > 0 && (
|
||||
<div className="govuk-body govuk-!-font-size-14">
|
||||
{uploadCountMessage} files uploaded{" "}
|
||||
{t(
|
||||
"home:completed-uploading-files-label",
|
||||
{
|
||||
number: uploadCountMessage,
|
||||
}
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
@@ -1261,7 +1268,9 @@ export const RenderFileUpload = (field) => {
|
||||
</p>
|
||||
) : (
|
||||
<p className="govuk-body textloading govuk-!-font-size-14">
|
||||
Uploading...
|
||||
{t(
|
||||
"home:uploading-files-progress-label"
|
||||
)}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
@@ -1290,7 +1299,7 @@ export const RenderFileUpload = (field) => {
|
||||
blob.path.split("/")[1]
|
||||
);
|
||||
}}
|
||||
title="Remove this file"
|
||||
title={t("home:remove-this-file-label")}
|
||||
>
|
||||
−
|
||||
</span>
|
||||
|
||||
@@ -127,7 +127,12 @@ const RepInterestedPartyPerson = (props) => {
|
||||
name="representationOnBehalfOf"
|
||||
datafieldname="representationOnBehalfOf"
|
||||
// label="In what capacity do you wish to make representations on this case?"
|
||||
options={["Yes", "No"]}
|
||||
options={[
|
||||
t(
|
||||
"myrepresentations:questionnaire-yes"
|
||||
),
|
||||
t("myrepresentations:questionnaire-no"),
|
||||
]}
|
||||
id="representationOnBehalfOf"
|
||||
className="govuk-radios__input"
|
||||
errorMsg={t(
|
||||
@@ -135,9 +140,10 @@ const RepInterestedPartyPerson = (props) => {
|
||||
)}
|
||||
component={RenderCondtionalRadioList}
|
||||
validate={[required]}
|
||||
legend={
|
||||
"Are you acting on behalf of a company, group or organisation?"
|
||||
}
|
||||
legend={t("case:representation-onbehalfof")}
|
||||
hint={t(
|
||||
"myrepresentations:representation-onbehalfof-hint"
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -2126,13 +2126,20 @@ const RenderFileUpload = (field) => {
|
||||
{uploadCountMessage > 0 &&
|
||||
completedUploadFiles == false && (
|
||||
<div className="govuk-body govuk-!-font-size-14">
|
||||
Uploading {uploadCountMessage} files{" "}
|
||||
{t("home:uploading-files-label", {
|
||||
number: uploadCountMessage,
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
{completedUploadFiles > 0 &&
|
||||
uploadCountMessage > 0 && (
|
||||
<div className="govuk-body govuk-!-font-size-14">
|
||||
{uploadCountMessage} files uploaded{" "}
|
||||
{t(
|
||||
"home:completed-uploading-files-label",
|
||||
{
|
||||
number: uploadCountMessage,
|
||||
}
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
</section>
|
||||
@@ -2188,7 +2195,9 @@ const RenderFileUpload = (field) => {
|
||||
</p>
|
||||
) : (
|
||||
<p className="govuk-body textloading govuk-!-font-size-14">
|
||||
Uploading...
|
||||
{t(
|
||||
"home:uploading-files-progress-label"
|
||||
)}{" "}
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
@@ -2223,7 +2232,7 @@ const RenderFileUpload = (field) => {
|
||||
field.ticketnumber
|
||||
);
|
||||
}}
|
||||
title="Remove this file "
|
||||
title={t("home:remove-this-file-label")}
|
||||
>
|
||||
−
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user