diff --git a/app/templates/views/send-contact-list.html b/app/templates/views/send-contact-list.html index 73933539b..da7163451 100644 --- a/app/templates/views/send-contact-list.html +++ b/app/templates/views/send-contact-list.html @@ -6,13 +6,13 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %} {% block service_page_title %} - Choose a saved contact list + Choose an emergency contact list {% endblock %} {% block maincolumn_content %} {{ page_header( - 'Choose a saved contact list', + 'Choose an emergency contact list', back_link=url_for('.send_one_off', service_id=current_service.id, template_id=template.id) ) }} @@ -20,11 +20,11 @@

- You cannot use a saved contact list with this template because it + You cannot use an emergency contact list with this template because it is personalised with {{ list_of_placeholders(template.placeholders) }}.

- Saved contact lists can only store email addresses or phone + Emergency contact lists can only include email addresses or phone numbers.

@@ -33,10 +33,10 @@
{% call(item, row_number) list_table( contact_lists, - caption="Existing contact lists", + caption="Emergency contact lists", caption_visible=False, empty_message=( - 'You don’t have any contact lists yet' + 'You have not saved any contact lists yet.' ), field_headings=[ 'File', @@ -71,7 +71,7 @@ You have not saved any lists of {{ recipient_count_label(99, template.template_type) }} yet.

- To upload and save a new contact list, go to the uploads page. + To upload and save an emergency contact list, go to the uploads page.

diff --git a/app/templates/views/send-test.html b/app/templates/views/send-test.html index 12ebd05be..226c25b5e 100644 --- a/app/templates/views/send-test.html +++ b/app/templates/views/send-test.html @@ -29,7 +29,7 @@ {% if link_to_upload %} Upload a list of {{ recipient_count_label(999, template.template_type) }} {% if current_service.contact_lists %} - Use a saved list + Use an emergency list {% endif %} {% endif %} {% if skip_link %} diff --git a/tests/app/main/views/test_send.py b/tests/app/main/views/test_send.py index e56baeaef..6a7f2aa82 100644 --- a/tests/app/main/views/test_send.py +++ b/tests/app/main/views/test_send.py @@ -1551,7 +1551,7 @@ def test_send_one_off_has_link_to_use_existing_list( ), ), ( - 'Use a saved list', + 'Use an emergency list', url_for( 'main.choose_from_contact_list', service_id=SERVICE_ONE_ID, @@ -4264,9 +4264,9 @@ def test_choose_from_contact_list_with_personalised_template( assert [ normalize_spaces(p.text) for p in page.select('main p') ] == [ - 'You cannot use a saved contact list with this template because ' + 'You cannot use an emergency contact list with this template because ' 'it is personalised with ((name)) and ((thing)).', - 'Saved contact lists can only store email addresses or phone numbers.', + 'Emergency contact lists can only include email addresses or phone numbers.', ] assert not page.select('table') @@ -4290,7 +4290,7 @@ def test_choose_from_contact_list_with_no_lists( normalize_spaces(p.text) for p in page.select('main p') ] == [ 'You have not saved any lists of phone numbers yet.', - 'To upload and save a new contact list, go to the uploads page.', + 'To upload and save an emergency contact list, go to the uploads page.', ] assert page.select_one('main p a')['href'] == url_for( 'main.uploads',