mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-05 14:00:51 -04:00
Put counts back on notifications page
We think there is some need for users who don’t need to see the dashboard to quickly find out which messages have failed. So this commit brings back the status filters for all users (previously those with ‘basic view’ wouldn’t have had them). This makes it less of a drastic change when the `view_activity` permission is removed from a user.
This commit is contained in:
@@ -21,13 +21,11 @@
|
||||
</h1>
|
||||
{% if not message_type == "letter" %}
|
||||
|
||||
{% if current_user.has_permissions('view_activity') %}
|
||||
{{ ajax_block(
|
||||
partials,
|
||||
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
|
||||
'counts'
|
||||
) }}
|
||||
{% endif %}
|
||||
{{ ajax_block(
|
||||
partials,
|
||||
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
|
||||
'counts'
|
||||
) }}
|
||||
|
||||
<form
|
||||
method="post"
|
||||
|
||||
Reference in New Issue
Block a user