2016-03-17 11:45:48 +00:00
|
|
|
{% from "components/big-number.html" import big_number_with_status %}
|
|
|
|
|
|
|
|
|
|
<h2 class="heading-medium">
|
|
|
|
|
Sent today
|
|
|
|
|
</h2>
|
|
|
|
|
<div class="grid-row">
|
|
|
|
|
<div class="column-half">
|
|
|
|
|
{{ big_number_with_status(
|
|
|
|
|
statistics.get('emails_requested', 0),
|
|
|
|
|
'email' if statistics.get('emails_requested') == 1 else 'emails',
|
2016-04-12 14:19:51 +01:00
|
|
|
statistics.get('emails_failed'),
|
2016-03-23 09:21:35 +00:00
|
|
|
statistics.get('emails_failure_rate', 0.0),
|
|
|
|
|
statistics.get('emails_failure_rate', 0)|float > 3
|
2016-03-17 11:45:48 +00:00
|
|
|
) }}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="column-half">
|
|
|
|
|
{{ big_number_with_status(
|
|
|
|
|
statistics.get('sms_requested', 0),
|
|
|
|
|
'text message' if statistics.get('sms_requested') == 1 else 'text messages',
|
2016-04-12 14:19:51 +01:00
|
|
|
statistics.get('sms_failed'),
|
2016-03-23 09:21:35 +00:00
|
|
|
statistics.get('sms_failure_rate', 0.0),
|
|
|
|
|
statistics.get('sms_failure_rate', 0)|float > 3
|
2016-03-17 11:45:48 +00:00
|
|
|
) }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-05 11:40:13 +01:00
|
|
|
|
|
|
|
|
{% include 'views/dashboard/template-statistics.html' %}
|
|
|
|
|
|