mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-09 21:02:22 -04:00
Merge pull request #2156 from alphagov/hide-7-days-bsic
Hide ‘7 days’ paragraph from basic view
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
notifications,
|
||||
caption="Recent activity",
|
||||
caption_visible=False,
|
||||
empty_message='No messages found',
|
||||
empty_message='No messages found  (messages are kept for 7 days)'|safe,
|
||||
field_headings=['Recipient', 'Status'],
|
||||
field_headings_visible=False
|
||||
) %}
|
||||
|
||||
@@ -52,13 +52,13 @@
|
||||
</form>
|
||||
{% endif %}
|
||||
|
||||
<p class="bottom-gutter">
|
||||
{% if current_user.has_permissions('view_activity') %}
|
||||
{% if current_user.has_permissions('view_activity') %}
|
||||
<p class="bottom-gutter">
|
||||
<a href="{{ download_link }}" download="download" class="heading-small">Download this report</a>
|
||||
 
|
||||
{% endif %}
|
||||
Data available for 7 days
|
||||
</p>
|
||||
Data available for 7 days
|
||||
</p>
|
||||
{% endif %}
|
||||
|
||||
{{ ajax_block(
|
||||
partials,
|
||||
|
||||
@@ -289,7 +289,7 @@ def test_shows_message_when_no_notifications(
|
||||
)
|
||||
|
||||
assert normalize_spaces(page.select('tbody tr')[0].text) == (
|
||||
'No messages found'
|
||||
'No messages found (messages are kept for 7 days)'
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user