Skip to content

Commit

Permalink
Move accessibility dates to locales
Browse files Browse the repository at this point in the history
We want to be able to set these per journey as different journeys will
be audited at different times.
  • Loading branch information
rjlynch committed Sep 24, 2024
1 parent 73e8a8a commit dd06a8f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/static_pages/accessibility_statement.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@
<h2 class="govuk-heading-l">How we tested this website</h2>

<p class="govuk-body">
This website was last tested on 28 July 2022. The test was carried out by the Department for Education.
This website was last tested on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.test_date") %>. The test was carried out by the Department for Education.
</p>

<p class="govuk-body">
This statement was prepared on 31 July 2019. It was last updated on 28 July 2022.
This statement was prepared on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.prepared_date") %>. It was last updated on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.updated_date") %>
</p>

</div>
Expand Down
24 changes: 24 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,10 @@ en:
matching_details:
title: "Is this claim still valid despite having matching details with other claims?"
additional_payments: &additional_payments
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
forms:
correct_school:
questions:
Expand Down Expand Up @@ -796,6 +800,10 @@ en:
are correct."
international_relocation_payments:
<<: *get_a_teacher_relocation_payment
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
policy_short_name: "International Relocation Payments"
policy_acronym: "IRP"
admin:
Expand Down Expand Up @@ -846,6 +854,10 @@ en:
teaching_hours:
title: "Does the teacher meet the minimum 50% teaching time requirement in their role?"
further_education_payments:
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
landing_page: Find out if you are eligible for a targeted retention incentive payment for further education teachers
claim_description: for further education payments
journey_name: Claim a targeted retention incentive payment for further education teachers
Expand Down Expand Up @@ -1195,6 +1207,10 @@ en:
correct.
btn_text: Accept and send
further_education_payments_provider:
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
journey_name: Claim a targeted retention incentive payment for further education teachers - provider
feedback_email: "[email protected]"
support_email_address: "[email protected]"
Expand Down Expand Up @@ -1274,6 +1290,10 @@ en:
early_years_payment:
claim_description: for an early years financial incentive payment
early_years_payment_provider_start:
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
claim_description: for an early years financial incentive payment
journey_name: Claim an early years financial incentive payment - start
landing_page:
Expand All @@ -1285,6 +1305,10 @@ en:
email_address:
question: Enter your email address
early_years_payment_provider_authenticated: &early_years_payment_provider_authenticated
accessibility_statement:
test_date: "28 July 2022"
prepared_date: "31 July 2019"
updated_date: "28 July 2022"
claim_description: for an early years financial incentive payment
journey_name: Claim an early years financial incentive payment - provider
feedback_email: "[email protected]"
Expand Down

0 comments on commit dd06a8f

Please sign in to comment.