mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-03-14 23:32:36 -04:00
22 lines
699 B
HTML
22 lines
699 B
HTML
{% from "components/big-number.html" import big_number %}
|
|
{% from "components/pill.html" import pill %}
|
|
|
|
<div class="ajax-block-container">
|
|
{% if notifications_deleted %}
|
|
<div class="grid-row bottom-gutter-1-2">
|
|
{% for label, query_param, url, count in counts %}
|
|
{% if query_param == 'pending' %}
|
|
<div class="grid-col-3">{{ big_number(count, query_param, smaller=True) }}</div>
|
|
{% else %}
|
|
<div class="grid-col-3">{{ big_number(count, label, smaller=True) }}</div>
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="bottom-gutter">
|
|
{{ pill(counts, request.args.get('status', '')) }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|