Skip to content

Commit

Permalink
content tweak - admin task for payroll gender
Browse files Browse the repository at this point in the history
  • Loading branch information
alkesh committed Sep 17, 2024
1 parent b27064a commit ab9bdd7
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", first_name: @claim.first_name, surname: @claim.surname) %>
</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", first_name: @claim.first_name, surname: @claim.surname) %>
</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 @@ -146,8 +146,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 %{first_name} %{surname}’s gender recorded for payroll purposes?"
hint: "%{first_name} %{surname} 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:
matching_details:
title: Is this claim still valid despite having matching details with other claims?
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 Jo Bloggs’s gender recorded for payroll purposes?")

click_on "Save and continue"

Expand Down

0 comments on commit ab9bdd7

Please sign in to comment.