From c011d7e1cfd8a5953050a18c9d0c1f39a3709368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 7 Dec 2023 12:46:49 +0100 Subject: [PATCH] feat: hide number of pending feedbacks when not applicable --- templates/admin/index.html.twig | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/admin/index.html.twig b/templates/admin/index.html.twig index 7273023..0d642c7 100644 --- a/templates/admin/index.html.twig +++ b/templates/admin/index.html.twig @@ -114,9 +114,11 @@

Neue Feedbacks

-

- {{ pendingFeedbacksCount }} freizugeben -

+ {% if pendingFeedbacksCount > 0 %} +

+ {{ pendingFeedbacksCount }} freizugeben +

+ {% endif %}