Update content based on KC’s suggestions

This commit is contained in:
Chris Hill-Scott
2020-03-16 11:35:45 +00:00
parent 93f862621c
commit f563c4a181
3 changed files with 12 additions and 5 deletions

View File

@@ -45,7 +45,7 @@
{% if current_user.platform_admin %} {% if current_user.platform_admin %}
{{ govukButton({ {{ govukButton({
"element": "a", "element": "a",
"text": "Upload a contact list", "text": "Upload an emergency contact list",
"href": url_for('.upload_contact_list', service_id=current_service.id), "href": url_for('.upload_contact_list', service_id=current_service.id),
"classes": "govuk-button--secondary govuk-!-margin-left-3" "classes": "govuk-button--secondary govuk-!-margin-left-3"
}) }} }) }}

View File

@@ -20,9 +20,16 @@
{{ page_header( {{ page_header(
'Upload an emergency contact list', 'Upload an emergency contact list',
back_link=url_for('main.uploads', service_id=current_service.id) back_link=url_for('main.uploads', service_id=current_service.id)
) }} ) }}
<p>Upload a list of phone numbers or email addresses.</p> <p class="govuk-body">
<p>Dont put members of the public in here.</p> Save a list of staff email addresses or phone numbers in Notify.
</p>
<p class="govuk-body">
In an emergency, you can send a message to everyone on the list.
</p>
<p class="govuk-body">
Do not include contact details for members of the public.
</p>
{% endif %} {% endif %}
<div class="bottom-gutter"> <div class="bottom-gutter">

View File

@@ -59,7 +59,7 @@ def test_platform_admin_has_upload_contact_list(
): ):
client_request.login(user) client_request.login(user)
page = client_request.get('main.uploads', service_id=SERVICE_ONE_ID) page = client_request.get('main.uploads', service_id=SERVICE_ONE_ID)
button = page.find('a', text=re.compile('Upload a contact list')) button = page.find('a', text=re.compile('Upload an emergency contact list'))
assert button assert button
assert button['href'] == url_for( assert button['href'] == url_for(
'main.upload_contact_list', service_id=SERVICE_ONE_ID, 'main.upload_contact_list', service_id=SERVICE_ONE_ID,