2017-01-23 11:56:01 +00:00
|
|
|
<div class="ajax-block-container">
|
2023-06-08 13:12:00 -04:00
|
|
|
<div class="grid-row grid-gap">
|
2024-03-21 11:00:44 -04:00
|
|
|
<div id="total-sms" class="grid-col-12 margin-top-2">
|
2024-03-18 12:43:56 -04:00
|
|
|
<span class="big-number-with-status display-block margin-bottom-2">
|
|
|
|
|
<p>
|
2023-12-17 16:27:26 -05:00
|
|
|
<span class="big-number-smaller">
|
|
|
|
|
<span class="big-number-number">
|
|
|
|
|
{% if statistics['sms']['requested'] is number %}
|
2024-03-18 12:43:56 -04:00
|
|
|
{{ "{:,}".format(statistics['sms']['requested']) }}
|
2023-12-17 16:27:26 -05:00
|
|
|
{% else %}
|
2024-03-18 12:43:56 -04:00
|
|
|
{{ statistics['sms']['requested'] }}
|
2023-12-17 16:27:26 -05:00
|
|
|
{% endif %}
|
|
|
|
|
</span>
|
2024-03-18 12:43:56 -04:00
|
|
|
<span class="big-number-label">{{ statistics['sms']['requested']|message_count_label('sms', suffix='sent') }} in the last seven days</span>
|
2023-12-17 16:27:26 -05:00
|
|
|
</span>
|
2024-03-18 12:43:56 -04:00
|
|
|
</p>
|
|
|
|
|
<a class="usa-button usa-button--outline" href="{{ url_for('.view_notifications', service_id=service_id, message_type='sms', status='sending,delivered,failed') }}">
|
|
|
|
|
Details
|
2023-12-17 16:27:26 -05:00
|
|
|
</a>
|
2024-03-19 12:10:43 -04:00
|
|
|
{# Removing the failures area for now, as the user can click on the above link to see all the details.
|
|
|
|
|
In the future state of the dashboard, the all statuses will be more apparent with data visualizations #}
|
2023-12-16 22:28:28 -05:00
|
|
|
</span>
|
2022-12-01 08:53:50 -05:00
|
|
|
</div>
|
2017-01-23 11:56:01 +00:00
|
|
|
</div>
|
2016-06-28 08:59:08 +01:00
|
|
|
</div>
|