mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 10:03:21 -04:00
26 lines
1.2 KiB
HTML
26 lines
1.2 KiB
HTML
|
|
{% from "components/big-number.html" import big_number_with_status %}
|
||
|
|
{% from "components/message-count-label.html" import message_count_label %}
|
||
|
|
|
||
|
|
<div class="column-half">
|
||
|
|
{{ big_number_with_status(
|
||
|
|
statistics.emails_requested,
|
||
|
|
message_count_label(statistics.emails_requested, 'email', suffix=''),
|
||
|
|
statistics.emails_failed,
|
||
|
|
statistics.get('emails_failure_rate', 0.0),
|
||
|
|
statistics.get('emails_failure_rate', 0)|float > 3,
|
||
|
|
failure_link=url_for(".view_notifications", service_id=current_service.id, message_type='email', status='failed'),
|
||
|
|
link=url_for(".view_notifications", service_id=current_service.id, message_type='email', status='sending,delivered,failed')
|
||
|
|
) }}
|
||
|
|
</div>
|
||
|
|
<div class="column-half">
|
||
|
|
{{ big_number_with_status(
|
||
|
|
statistics.sms_requested,
|
||
|
|
message_count_label(statistics.sms_requested, 'sms', suffix=''),
|
||
|
|
statistics.sms_failed,
|
||
|
|
statistics.get('sms_failure_rate', 0.0),
|
||
|
|
statistics.get('sms_failure_rate', 0)|float > 3,
|
||
|
|
failure_link=url_for(".view_notifications", service_id=current_service.id, message_type='sms', status='failed'),
|
||
|
|
link=url_for(".view_notifications", service_id=current_service.id, message_type='sms', status='sending,delivered,failed')
|
||
|
|
) }}
|
||
|
|
</div>
|