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

30 lines
1.2 KiB
HTML
Raw Normal View History

{% from "components/big-number.html" import big_number_with_status %}
<div class="ajax-block-container">
<div class="grid-row grid-gap">
<div id="total-sms" class="grid-col-12">
{{ big_number_with_status(
statistics['sms']['requested'],
statistics['sms']['requested']|message_count_label('sms', suffix='sent'),
statistics['sms']['failed'],
statistics['sms']['failed_percentage'],
statistics['sms']['show_warning'],
failure_link=url_for(".view_notifications", service_id=service_id, message_type='sms', status='failed'),
link=url_for(".view_notifications", service_id=service_id, message_type='sms', status='sending,delivered,failed'),
smaller=True,
2022-12-01 08:53:50 -05:00
) }}
</div>
<!-- <div id="total-email" class="grid-col-6">
2023-03-07 17:15:31 -05:00
<span class="big-number-with-status pilot-disabled">
<a class="usa-link display-block margin-bottom-1">
2022-12-01 08:53:50 -05:00
<span class="big-number-smaller">
2023-03-07 17:15:31 -05:00
<span class="big-number-number">0</span>
<span class="big-number-label">emails sent</span>
2022-12-01 08:53:50 -05:00
</span>
</a>
2023-03-07 17:15:31 -05:00
<span class="big-number-status">No failures</span>
2022-12-01 08:53:50 -05:00
</span>
</div> -->
</div>
</div>