Files
notifications-admin/app/templates/views/dashboard/_totals.html

26 lines
1.2 KiB
HTML
Raw Normal View History

<div class="ajax-block-container">
<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">
<span class="big-number-with-status display-block margin-bottom-2">
<p>
<span class="big-number-smaller">
<span class="big-number-number">
{% if statistics['sms']['requested'] is number %}
{{ "{:,}".format(statistics['sms']['requested']) }}
{% else %}
{{ statistics['sms']['requested'] }}
{% endif %}
</span>
<span class="big-number-label">{{ statistics['sms']['requested']|message_count_label('sms', suffix='sent') }} in the last seven days</span>
</span>
</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
</a>
{# 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>
</div>
</div>