From c30eb3a825a21dcc628f4121459e7adc533ccb39 Mon Sep 17 00:00:00 2001 From: stvnrlly Date: Sat, 16 Dec 2023 22:17:38 -0500 Subject: [PATCH] add back in conditionals --- app/templates/views/platform-admin/index.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/templates/views/platform-admin/index.html b/app/templates/views/platform-admin/index.html index a90da7224..5ba96dc4b 100644 --- a/app/templates/views/platform-admin/index.html +++ b/app/templates/views/platform-admin/index.html @@ -34,11 +34,17 @@
+ {% if noti_type.black_box.number is number %} {{ "{:,}".format(noti_type.black_box.number) }} + {% else %} + {{ noti_type.black_box.number }} + {% endif %} + {% if 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) }} + {% endif %} {% for item in noti_type.other_data %}