2016-06-28 08:59:08 +01:00
|
|
|
{% from "components/big-number.html" import big_number_with_status %}
|
|
|
|
|
{% from "components/message-count-label.html" import message_count_label %}
|
|
|
|
|
|
2016-09-01 11:06:52 +01:00
|
|
|
<div class="grid-row ajax-block-container">
|
2016-10-13 10:52:09 +01:00
|
|
|
<div id="total-email" class="column-half">
|
2016-06-28 09:07:04 +01:00
|
|
|
{{ big_number_with_status(
|
2016-07-19 17:10:48 +01:00
|
|
|
statistics['email']['requested'],
|
|
|
|
|
message_count_label(statistics['email']['requested'], 'email', suffix=''),
|
|
|
|
|
statistics['email']['failed'],
|
|
|
|
|
statistics['email']['failed_percentage'],
|
|
|
|
|
statistics['email']['show_warning'],
|
2016-07-20 11:46:29 +01:00
|
|
|
failure_link=url_for(".view_notifications", service_id=service_id, message_type='email', status='failed'),
|
|
|
|
|
link=url_for(".view_notifications", service_id=service_id, message_type='email', status='sending,delivered,failed')
|
2016-06-28 09:07:04 +01:00
|
|
|
) }}
|
|
|
|
|
</div>
|
2016-10-13 10:52:09 +01:00
|
|
|
<div id="total-sms" class="column-half">
|
2016-06-28 09:07:04 +01:00
|
|
|
{{ big_number_with_status(
|
2016-07-19 17:10:48 +01:00
|
|
|
statistics['sms']['requested'],
|
|
|
|
|
message_count_label(statistics['sms']['requested'], 'sms', suffix=''),
|
|
|
|
|
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')
|
2016-06-28 09:07:04 +01:00
|
|
|
) }}
|
|
|
|
|
</div>
|
2016-06-28 08:59:08 +01:00
|
|
|
</div>
|