mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 20:31:19 -05:00
22 lines
673 B
HTML
22 lines
673 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 ">
|
|
{% 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="tabs">
|
|
{{ pill(counts, request.args.get('status', '')) }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|