mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-29 18:40:10 -04:00
44 lines
1.9 KiB
HTML
44 lines
1.9 KiB
HTML
<div class="ajax-block-container">
|
||
<div class="grid-row grid-gap">
|
||
<div id="total-sms" class="grid-col-12">
|
||
<span class="big-number-with-status">
|
||
<a class="usa-link display-flex" href="{{ url_for('.view_notifications', service_id=service_id, message_type='sms', status='sending,delivered,failed') }}">
|
||
<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') }}</span>
|
||
</span>
|
||
</a>
|
||
{% if show_failures %}
|
||
<span class="big-number-status{% if statistics['sms']['show_warning'] is sameas true %} big-number-status--failing{% endif %}">
|
||
{% if statistics['sms']['failed'] %}
|
||
<a class="usa-link" href="{{ url_for('.view_notifications', service_id=service_id, message_type='sms', status='failed') }}">
|
||
{{ "{:,}".format(statistics['sms']['failed']) }}
|
||
failed – {{ statistics['sms']['failed_percentage'] }}%
|
||
</a>
|
||
{% else %}
|
||
No failures
|
||
{% endif %}
|
||
</span>
|
||
{% endif %}
|
||
</span>
|
||
</div>
|
||
<!-- <div id="total-email" class="grid-col-6">
|
||
<span class="big-number-with-status pilot-disabled">
|
||
<a class="usa-link display-block margin-bottom-1">
|
||
<span class="big-number-smaller">
|
||
<span class="big-number-number">0</span>
|
||
<span class="big-number-label">emails sent</span>
|
||
</span>
|
||
</a>
|
||
<span class="big-number-status">No failures</span>
|
||
</span>
|
||
</div> -->
|
||
</div>
|
||
</div>
|