From 59f9fe7df174fe15263c5c4d3cd957dc096bac79 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Mon, 12 Mar 2018 15:13:52 +0000 Subject: [PATCH] Finalise wording Main changes are to better differentiate between the data sharing and financial agreement and the terms of use. --- app/templates/views/terms-of-use.html | 47 +++++++++++++++------------ tests/app/main/views/test_index.py | 22 ++++++++----- 2 files changed, 41 insertions(+), 28 deletions(-) diff --git a/app/templates/views/terms-of-use.html b/app/templates/views/terms-of-use.html index a0cca480e..c6de90ced 100644 --- a/app/templates/views/terms-of-use.html +++ b/app/templates/views/terms-of-use.html @@ -16,31 +16,28 @@ Terms of use

Terms of use

-

By using GOV.UK Notify, you agree to follow our terms of use.

-

The service manager for your service has to accept the terms of use when you request to go live on Notify.

- -

Data sharing and financial agreement

+

+ These terms apply to your service’s use of GOV.UK Notify. You must be the service manager to accept them. +

{% if agreement_info.agreement_signed %}

Your organisation ({{ agreement_info.owner }}) has already accepted the GOV.UK Notify data sharing and financial agreement.

{% else %} -

For your service to go live on Notify, your organisation must accept our data sharing and financial agreement.

-

Contact us to get a copy of the agreement or find out if your organisation has already accepted it.

+

+ Your organisation + {% if agreement_info.owner %} + ({{ agreement_info.owner }}) + must also accept our data sharing and financial agreement. + Contact us to get a copy. + {% else %} + must also accept our data sharing and financial agreement. + Contact us to get a copy. + {% endif %} +

{% endif %} -

Notify’s side of the agreement

-

We agree to:

- - -

Your side of the agreement

-

You agree to:

+

When using Notify

+

You must:

-

If you don’t keep to your side of the agreement, we might have to stop sending your messages.

+

If you don’t keep to these terms, we might have to stop sending your messages.

+ +

Notify will:

+

Leaving Notify

You can leave Notify at any time. Just contact us and we’ll close your account.

diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 44ae4f145..0ade14647 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -96,11 +96,9 @@ def test_terms_is_generic_if_user_is_not_logged_in( assert response.status_code == 200 page = BeautifulSoup(response.data.decode('utf-8'), 'html.parser') - assert normalize_spaces(page.select('main p')[2].text) == ( - 'For your service to go live on Notify, your organisation must accept our data sharing and financial agreement.' - ) - assert normalize_spaces(page.select('main p')[3].text) == ( - 'Contact us to get a copy of the agreement or find out if your organisation has already accepted it.' + assert normalize_spaces(page.select('main p')[1].text) == ( + 'Your organisation must also accept our data sharing and ' + 'financial agreement. Contact us to get a copy.' ) @@ -112,11 +110,19 @@ def test_terms_is_generic_if_user_is_not_logged_in( 'the GOV.UK Notify data sharing and financial agreement.' ), ), + ( + 'test@aylesburytowncouncil.gov.uk', + ( + 'Your organisation (Aylesbury Town Council) must also ' + 'accept our data sharing and financial agreement. Contact ' + 'us to get a copy.' + ), + ), ( 'larry@downing-street.gov.uk', ( - 'For your service to go live on Notify, your organisation ' - 'must accept our data sharing and financial agreement.' + 'Your organisation must also accept our data sharing and ' + 'financial agreement. Contact us to get a copy.' ), ), ]) @@ -131,4 +137,4 @@ def test_terms_tells_logged_in_users_what_we_know_about_their_agreement( user.email_address = email_address mocker.patch('app.user_api_client.get_user', return_value=user) page = client_request.get('main.terms') - assert normalize_spaces(page.select('main p')[2].text) == expected_first_paragraph + assert normalize_spaces(page.select('main p')[1].text) == expected_first_paragraph