mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-25 10:29:14 -04:00
Update content based on KC’s suggestions
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
{% if current_user.platform_admin %}
|
||||
{{ govukButton({
|
||||
"element": "a",
|
||||
"text": "Upload a contact list",
|
||||
"text": "Upload an emergency contact list",
|
||||
"href": url_for('.upload_contact_list', service_id=current_service.id),
|
||||
"classes": "govuk-button--secondary govuk-!-margin-left-3"
|
||||
}) }}
|
||||
|
||||
@@ -20,9 +20,16 @@
|
||||
{{ page_header(
|
||||
'Upload an emergency contact list',
|
||||
back_link=url_for('main.uploads', service_id=current_service.id)
|
||||
) }}
|
||||
<p>Upload a list of phone numbers or email addresses.</p>
|
||||
<p>Don’t put members of the public in here.</p>
|
||||
) }}
|
||||
<p class="govuk-body">
|
||||
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 %}
|
||||
|
||||
<div class="bottom-gutter">
|
||||
|
||||
@@ -59,7 +59,7 @@ def test_platform_admin_has_upload_contact_list(
|
||||
):
|
||||
client_request.login(user)
|
||||
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['href'] == url_for(
|
||||
'main.upload_contact_list', service_id=SERVICE_ONE_ID,
|
||||
|
||||
Reference in New Issue
Block a user