diff --git a/app/templates/views/notifications.html b/app/templates/views/notifications.html index 853bcf762..0d0cf943d 100644 --- a/app/templates/views/notifications.html +++ b/app/templates/views/notifications.html @@ -5,12 +5,14 @@ {% from "components/form.html" import form_wrapper %} {% from "components/components/button/macro.njk" import usaButton %} + {% set page_title = ( (99|message_count_label(message_type, suffix='')) | capitalize if current_user.has_permissions('view_activity') else 'Sent messages' ) %} + {% block service_page_title %} {{ page_title }} {% endblock %} @@ -26,10 +28,23 @@ ) }} -

- Messages will remain in pending state until carrier status is received, typically 5 minutes. -

+ +

Message status

+

In order to help you manage your service and to protect text recipient data:

+ + +

Detailed data

{% call form_wrapper( action=url_for('.view_notifications', service_id=current_service.id, message_type=message_type), class="usa-search margin-bottom-2" @@ -58,30 +73,31 @@ +

Download CSV report

+{% call form_wrapper(id="search-form") %} + + +{% endcall %} - {% call form_wrapper(id="search-form") %} - - - {% endcall %} +{% if current_user.has_permissions('view_activity') %} +

+ Download this report (CSV) +   + Data available for {{ partials.service_data_retention_days }} days +

+

+ View timezone chart +   + For help with understanding and converting UTC times +

+{% endif %} - {% if current_user.has_permissions('view_activity') %} -

- Download this report (CSV) -   - Data available for {{ partials.service_data_retention_days }} days -

-

- View timezone chart -   - For help with understanding and converting UTC times -

- {% endif %} - - {{ ajax_block( - partials, - url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page), - 'notifications', - form='search-form' - ) }} +

Activity in the last seven days

+{{ ajax_block( + partials, + url_for('.get_notifications_as_json', service_id=current_service.id, message_type=message_type, status=status, page=page), + 'notifications', + form='search-form' +) }} {% endblock %}