mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-11 21:01:06 -04:00
You can click the blue boxes to filter the list of notifications. Once the notifications have gone there’s nothing to filter, so we should just show the numbers but without them being clickable.
19 lines
550 B
HTML
19 lines
550 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 %}
|
|
<div class="column-one-quarter">
|
|
{{ big_number(count, label, smaller=True) }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% else %}
|
|
<div class="bottom-gutter">
|
|
{{ pill(counts, request.args.get('status', '')) }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|