Skip to content

Commit

Permalink
Add the provider journey dates
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rjlynch committed Sep 24, 2024
1 parent 8becb4c commit d495ed4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion app/views/static_pages/accessibility_statement.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@
</p>

<p class="govuk-body">
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 %>
</p>

</div>
Expand Down
5 changes: 2 additions & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1208,9 +1208,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: "[email protected]"
support_email_address: "[email protected]"
Expand Down

0 comments on commit d495ed4

Please sign in to comment.