diff --git a/app/views/errors/unauthorised.html.haml b/app/views/errors/unauthorised.html.haml index 6ab66b46c2..142ef0b0ba 100644 --- a/app/views/errors/unauthorised.html.haml +++ b/app/views/errors/unauthorised.html.haml @@ -1,4 +1,9 @@ -- content_for :page_title_prefix, t('error_pages.unauthorised') +- content_for :page_title_prefix, t('error_pages.unauthorised.title') -%h1.govuk-heading-xl=t('error_pages.unauthorised') +%h1.govuk-heading-xl=t('error_pages.unauthorised.title') +%p= t('error_pages.unauthorised.text_html') +%ul.govuk-list.govuk-list--bullet + -t('error_pages.unauthorised.options').each do |option| + %li=option.html_safe +%p= t('error_pages.unauthorised.footer') %p You can email #{mail_to t('help.email'), t('help.email'), class: 'govuk-link'} if the problem persists. diff --git a/config/locales/en.yml b/config/locales/en.yml index b32177c8c7..86de969068 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1010,11 +1010,19 @@ en: already_exists: "You're already subscribed to an alert for these search criteria" error_pages: - unauthorised: We were unable to authorise your request. - unprocessable_entity: We're unable to process your request. not_found: Page not found. - trashed_vacancy_found: Page not found. server_error: Sorry, there’s a technical issue at our end + trashed_vacancy_found: Page not found. + unauthorised: + footer: If you still can’t access this page, or you haven’t yet been authorised, please email teaching.vacancies@education.gov.uk + options: + - checking the URL is correct + - logging out of Teaching Vacancies and signing in again + - reloading or refreshing the page + - deleting your browser’s cache + text_html: "

You need authorisation to be able to see this page.

If you have already been given access, you can try fixing this problem by:

" + title: We were unable to authorise your request. + unprocessable_entity: We're unable to process your request. help: email: teaching.vacancies@education.gov.uk