From 599337fda7f8c080cb548befeafe77169663a090 Mon Sep 17 00:00:00 2001 From: Richard Lynch Date: Tue, 24 Sep 2024 15:08:59 +0100 Subject: [PATCH] Add the provider journey dates Adds the dates for the provider journey accessibility statement. As this statment hasn't been updated we now branch on whether this key is present or not --- app/views/static_pages/accessibility_statement.html.erb | 5 ++++- config/locales/en.yml | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/views/static_pages/accessibility_statement.html.erb b/app/views/static_pages/accessibility_statement.html.erb index 2dfbee2277..32f9db896f 100644 --- a/app/views/static_pages/accessibility_statement.html.erb +++ b/app/views/static_pages/accessibility_statement.html.erb @@ -99,7 +99,10 @@

- 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") %> + This statement was prepared on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.prepared_date") %>. + <% if I18n.exists?("#{journey::I18N_NAMESPACE}.accessibility_statement.updated_date") %> + It was last updated on <%= I18n.t("#{journey::I18N_NAMESPACE}.accessibility_statement.updated_date") %> + <% end %>

diff --git a/config/locales/en.yml b/config/locales/en.yml index 43ebc11b78..c795a34418 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1213,9 +1213,8 @@ en: 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" + test_date: "20 September 2024" + prepared_date: "24 September 2024" 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"