Skip to content

Commit

Permalink
Merge pull request #3195 from DFE-Digital/LUPEYALPHA-1007-admin-payro…
Browse files Browse the repository at this point in the history
…ll-gender

[LUPEYALPHA-1007] content tweak - admin task for payroll gender
  • Loading branch information
alkesh authored Sep 23, 2024
2 parents 0403b83 + b8c7085 commit 10b1b0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/views/admin/tasks/payroll_gender.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
<fieldset class="govuk-fieldset govuk-!-margin-bottom-6">
<legend class="govuk-fieldset__legend govuk-fieldset__legend--l ">
<h3 class="govuk-heading-l">
What gender should be passed to payroll and HMRC?
<%= t("admin.tasks.payroll_gender.title") %>
</h3>
</legend>

<p class="govuk-body">
<%= t("#{Journeys.for_policy(@claim.policy)::I18N_NAMESPACE}.admin.tasks.payroll_gender.hint", default: [:"admin.tasks.payroll_gender.hint"]) %>
<%= t("admin.tasks.payroll_gender.hint") %>
</p>

<%= hidden_field_tag "task[passed]", "true" %>
Expand Down
7 changes: 2 additions & 5 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ en:
provider_verification:
title: "Confirm the provider has responded and verified the claimant's information"
payroll_gender:
title: "Add a payroll gender for HMRC"
hint: "The claimant answered ‘Don't know’ to the question ‘What gender does your school's payroll system associate with you?’"
title: "How is the claimant’s gender recorded for payroll purposes?"
hint: "The claimant answered ‘don’t know’ to the question ‘how is your gender recorded on your employer’s payroll system?’"
student_loan_amount:
title: "Check student loan amount"
student_loan_plan:
Expand Down Expand Up @@ -864,9 +864,6 @@ en:
duplicate_claim: "Duplicate claim"
no_response: "No response"
other: "Other"
tasks:
payroll_gender:
hint: "The claimant answered ‘Don't know’ to the question ‘How is your gender recorded on your employer’s payroll system?'"
task_questions:
identity_confirmation:
title: Do the One Login details match the personal details entered by the claimant?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

click_on I18n.t("admin.tasks.payroll_gender.title")

expect(page).to have_content("What gender should be passed to payroll and HMRC?")
expect(page).to have_content("How is the claimant’s gender recorded for payroll purposes?")

click_on "Save and continue"

Expand Down

0 comments on commit 10b1b0b

Please sign in to comment.