Files
notifications-admin/app/templates/partials/jobs/count.html
T

31 lines
795 B
HTML
Raw Normal View History

2016-03-02 17:36:20 +00:00
{% from "components/big-number.html" import big_number %}
2016-04-27 09:28:42 +01:00
<div
2016-05-25 13:36:35 +01:00
{% if not finished %}
data-module="update-content"
2016-05-25 13:36:35 +01:00
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
data-key="counts"
aria-live="polite"
2016-04-27 09:28:42 +01:00
{% endif %}
>
<ul class="grid-row job-totals">
<li class="column-one-quarter">
{{ big_number(
2016-05-25 13:36:35 +01:00
job.get('notifications_sent', 0) - job.get('notifications_delivered', 0) - job.get('notifications_failed', 0), 'sending'
2016-04-27 09:28:42 +01:00
)}}
</li>
<li class="column-one-quarter">
{{ big_number(
2016-05-25 13:36:35 +01:00
job.get('notifications_delivered', 0), 'delivered'
)}}
</li>
<li class="column-one-quarter">
{{ big_number(
job.notifications_failed, 'failed'
2016-04-27 09:28:42 +01:00
)}}
</li>
</ul>
</div>