mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-03 18:28:25 -04:00
35 lines
1.6 KiB
HTML
35 lines
1.6 KiB
HTML
{% from "components/big-number.html" import big_number %}
|
||
|
||
<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">
|
||
{{ big_number(statistics['sms']['requested'], statistics['sms']['requested']|message_count_label('sms', suffix='sent'), link=url_for('.view_notifications', service_id=service_id, message_type='sms', status='sending,delivered,failed'), smaller=True, smallest=smallest) }}
|
||
{% 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>
|