Remove counts from sent

Counts of sending/failed/delivered are ‘management information’ or
‘reporting’. We don’t think that caseworkers need to see this
information.

The idea of the caseworking view is to remove stuff that caseworkers
don’t need to see.
This commit is contained in:
Chris Hill-Scott
2018-06-13 14:54:28 +01:00
parent b0cb9ff58e
commit e3e9333840

View File

@@ -14,11 +14,14 @@
{{ message_count_label(99, message_type, suffix='') | capitalize }}
</h1>
{% if not message_type == "letter" %}
{{ ajax_block(
partials,
url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status),
'counts'
) }}
{% 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 %}
<form
method="post"