mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 19:29:11 -04:00
This reverts commit 651584d056.
Should be safe to turn the AJAX back on now it’s not going to
denial-of-service any slow pages.
31 lines
795 B
HTML
31 lines
795 B
HTML
{% from "components/big-number.html" import big_number %}
|
|
|
|
<div
|
|
{% if not finished %}
|
|
data-module="update-content"
|
|
data-resource="{{url_for(".view_job_updates", service_id=current_service.id, job_id=job.id)}}"
|
|
data-key="counts"
|
|
aria-live="polite"
|
|
{% endif %}
|
|
>
|
|
|
|
<ul class="grid-row job-totals">
|
|
<li class="column-one-quarter">
|
|
{{ big_number(
|
|
job.get('notifications_sent', 0) - job.get('notifications_delivered', 0) - job.get('notifications_failed', 0), 'sending'
|
|
)}}
|
|
</li>
|
|
<li class="column-one-quarter">
|
|
{{ big_number(
|
|
job.get('notifications_delivered', 0), 'delivered'
|
|
)}}
|
|
</li>
|
|
<li class="column-one-quarter">
|
|
{{ big_number(
|
|
job.notifications_failed, 'failed'
|
|
)}}
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|