add back in conditionals

This commit is contained in:
stvnrlly
2023-12-16 22:17:38 -05:00
parent 0b31ca5ab3
commit c30eb3a825

View File

@@ -34,11 +34,17 @@
<div class="grid-col-6">
<span class="big-number-dark bottom-gutter-2-3">
<span class="big-number-number">
{% if noti_type.black_box.number is number %}
{{ "{:,}".format(noti_type.black_box.number) }}
{% else %}
{{ noti_type.black_box.number }}
{% endif %}
</span>
{% if noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type) %}
<span class="big-number-label">
{{ noti_type.black_box.number|message_count_label(noti_type.black_box.notification_type) }}
</span>
{% endif %}
</span>
{% for item in noti_type.other_data %}