mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 20:38:24 -04:00
add back in conditionals
This commit is contained in:
@@ -34,11 +34,17 @@
|
|||||||
<div class="grid-col-6">
|
<div class="grid-col-6">
|
||||||
<span class="big-number-dark bottom-gutter-2-3">
|
<span class="big-number-dark bottom-gutter-2-3">
|
||||||
<span class="big-number-number">
|
<span class="big-number-number">
|
||||||
|
{% if noti_type.black_box.number is number %}
|
||||||
{{ "{:,}".format(noti_type.black_box.number) }}
|
{{ "{:,}".format(noti_type.black_box.number) }}
|
||||||
|
{% else %}
|
||||||
|
{{ noti_type.black_box.number }}
|
||||||
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
{% if noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type) %}
|
||||||
<span class="big-number-label">
|
<span class="big-number-label">
|
||||||
{{ noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type) }}
|
{{ noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type) }}
|
||||||
</span>
|
</span>
|
||||||
|
{% endif %}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{% for item in noti_type.other_data %}
|
{% for item in noti_type.other_data %}
|
||||||
|
|||||||
Reference in New Issue
Block a user