Skip to content

Commit

Permalink
Merge pull request #501 from alphagov/auth-1309-zendesk
Browse files Browse the repository at this point in the history
AUTH-1309 - Adjust formatting and text on contact-us pages
  • Loading branch information
JHjava authored Feb 11, 2022
2 parents 70be595 + c5e3f02 commit bcc7581
Show file tree
Hide file tree
Showing 13 changed files with 65 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['issueDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@
} if (errors['issueDescription'])
}) }}

<h2 class="govuk-heading-m">
{{ 'pages.contactUsQuestions.anotherProblem.section2.header' | translate }}
</h2>

{{ govukTextarea({
label: {
text: 'pages.contactUsQuestions.anotherProblem.section2.paragraph1' | translate,
text: 'pages.contactUsQuestions.anotherProblem.section2.header' | translate,
classes: "govuk-label--s"
},
hint: {
text: 'pages.contactUsQuestions.anotherProblem.section2.paragraph1' | translate
},
id: "additionalDescription",
name: "additionalDescription",
value: additionalDescription,
Expand All @@ -39,6 +38,11 @@
} if (errors['additionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['optionalDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
5 changes: 0 additions & 5 deletions src/components/contact-us/questions/_reply_by_email.njk
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% set emailHtml %}
{{ govukInput({
id: "email",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
} if (errors['issueDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
} if (errors['issueDescription'])
}) }}

{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{% include 'contact-us/questions/_reply_by_email.njk' %}

{{ govukButton({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@
} if (errors['additionalDescription'])
}) }}

{{ govukTextarea({
{{ govukWarningText({
text:'pages.contactUsQuestions.personalInformation.paragraph1' | translate,
iconFallbackText: "Warning"
}) }}

{{ govukInput({
label: {
text: 'pages.contactUsQuestions.technicalError.section3.header' | translate,
classes: "govuk-label--s"
Expand Down

0 comments on commit bcc7581

Please sign in to comment.