mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-18 21:44:11 -04:00
29 lines
884 B
HTML
29 lines
884 B
HTML
{% 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',
|
|
statistics.get('emails_error'),
|
|
statistics.get('emails_failure_rate', 0.0),
|
|
statistics.get('emails_failure_rate', 0)|float > 3
|
|
) }}
|
|
</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',
|
|
statistics.get('sms_error'),
|
|
statistics.get('sms_failure_rate', 0.0),
|
|
statistics.get('sms_failure_rate', 0)|float > 3
|
|
) }}
|
|
</div>
|
|
</div>
|
|
|
|
{% include 'views/dashboard/template-statistics.html' %}
|
|
|