mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 09:19:48 -04:00
Update content based on KC’s suggestions
This commit is contained in:
@@ -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"
|
||||||
}) }}
|
}) }}
|
||||||
|
|||||||
@@ -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>Don’t 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">
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user