From dd06a8feb12e1e51edda9dd93c13c77b355a1991 Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Tue, 24 Sep 2024 15:02:57 +0100 Subject: [PATCH] Move accessibility dates to locales We want to be able to set these per journey as different journeys will be audited at different times. --- .../accessibility_statement.html.erb | 4 ++-- config/locales/en.yml | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/app/views/static_pages/accessibility_statement.html.erb b/app/views/static_pages/accessibility_statement.html.erb index 2c9c631a18..2dfbee2277 100644 --- a/app/views/static_pages/accessibility_statement.html.erb +++ b/app/views/static_pages/accessibility_statement.html.erb @@ -95,11 +95,11 @@

How we tested this website

- 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.

- 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") %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 57f882fdbb..bebb9fcb03 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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: @@ -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: @@ -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 @@ -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: "FE-targeted.retention-incentive@education.gov.uk" support_email_address: "FE-targeted.retention-incentive@education.gov.uk" @@ -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: @@ -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: "help@opsteam.education.gov.uk"