mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 11:18:25 -04:00
Merge pull request #3388 from alphagov/remove-contact-list-hint
Remove line about contact lists from uploads
This commit is contained in:
@@ -15,14 +15,9 @@
|
|||||||
<p class="govuk-body">
|
<p class="govuk-body">
|
||||||
You have not uploaded any files recently.
|
You have not uploaded any files recently.
|
||||||
</p>
|
</p>
|
||||||
{% if current_user.has_permissions('send_messages') %}
|
{% if current_user.has_permissions('send_messages') and current_service.has_permission('letter')%}
|
||||||
{% if current_service.has_permission('letter') %}
|
|
||||||
<p class="govuk-body">
|
|
||||||
Upload a letter and Notify will print, pack and post it for you.
|
|
||||||
</p>
|
|
||||||
{% endif %}
|
|
||||||
<p class="govuk-body">
|
<p class="govuk-body">
|
||||||
To upload a list of contact details, first <a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('main.choose_template', service_id=current_service.id) }}">choose a template</a>.
|
Upload a letter and Notify will print, pack and post it for you.
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -66,13 +66,11 @@ def test_all_users_have_upload_contact_list(
|
|||||||
|
|
||||||
@pytest.mark.parametrize('extra_permissions, expected_empty_message', (
|
@pytest.mark.parametrize('extra_permissions, expected_empty_message', (
|
||||||
([], (
|
([], (
|
||||||
'You have not uploaded any files recently. '
|
'You have not uploaded any files recently.'
|
||||||
'To upload a list of contact details, first choose a template.'
|
|
||||||
)),
|
)),
|
||||||
(['letter'], (
|
(['letter'], (
|
||||||
'You have not uploaded any files recently. '
|
'You have not uploaded any files recently. '
|
||||||
'Upload a letter and Notify will print, pack and post it for you. '
|
'Upload a letter and Notify will print, pack and post it for you.'
|
||||||
'To upload a list of contact details, first choose a template.'
|
|
||||||
)),
|
)),
|
||||||
))
|
))
|
||||||
def test_get_upload_hub_with_no_uploads(
|
def test_get_upload_hub_with_no_uploads(
|
||||||
|
|||||||
Reference in New Issue
Block a user