diff --git a/app/templates/error/401.html b/app/templates/error/401.html index c5f513027..74747f50e 100644 --- a/app/templates/error/401.html +++ b/app/templates/error/401.html @@ -1,9 +1,9 @@ {% extends "withoutnav_template.html" %} -{% block per_page_title %}You are not authorised to see this page{% endblock %} +{% block per_page_title %}You’re not authorised to see this page{% endblock %} {% block maincolumn_content %}
-

You are not authorised to see this page

+

You’re not authorised to see this page

Sign in to GOV.UK Notify and try again.

{% endblock %} diff --git a/app/templates/error/403.html b/app/templates/error/403.html index 552188430..13b4602b8 100644 --- a/app/templates/error/403.html +++ b/app/templates/error/403.html @@ -1,10 +1,10 @@ {% extends "withoutnav_template.html" %} -{% block per_page_title %}You are not allowed to see this page{% endblock %} +{% block per_page_title %}You’re not allowed to see this page{% endblock %} {% block maincolumn_content %}

- You are not allowed to see this page + You’re not allowed to see this page

To check your permissions, speak to a member of your team who can manage settings, team and usage. diff --git a/tests/app/main/views/accounts/test_choose_accounts.py b/tests/app/main/views/accounts/test_choose_accounts.py index b799b063d..80c47e618 100644 --- a/tests/app/main/views/accounts/test_choose_accounts.py +++ b/tests/app/main/views/accounts/test_choose_accounts.py @@ -247,7 +247,7 @@ def test_choose_account_should_not_show_back_to_service_link_if_service_archived )), (service_two, 403, ( # Page has no ‘back to’ link - 'You are not allowed to see this page ' + 'You’re not allowed to see this page ' 'To check your permissions, speak to a member of your team who can manage settings, team and usage.' )), )) diff --git a/tests/app/main/views/test_accept_invite.py b/tests/app/main/views/test_accept_invite.py index e46e7a83f..48f807709 100644 --- a/tests/app/main/views/test_accept_invite.py +++ b/tests/app/main/views/test_accept_invite.py @@ -415,7 +415,7 @@ def test_signed_in_existing_user_cannot_use_anothers_invite( _follow_redirects=True, _expected_status=403, ) - assert page.h1.string.strip() == 'You are not allowed to see this page' + assert page.h1.string.strip() == 'You’re not allowed to see this page' flash_banners = page.find_all('div', class_='banner-dangerous') assert len(flash_banners) == 1 banner_contents = flash_banners[0].text.strip()