From 247fd2e26d52352fcec80f34a8ac5666891a64a6 Mon Sep 17 00:00:00 2001 From: Timothy Hobbs Date: Tue, 14 Sep 2021 21:59:25 +0200 Subject: [PATCH] Don't show kbitems on dashboard if there are no unassigned tickets in them --- helpdesk/templates/helpdesk/include/unassigned.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helpdesk/templates/helpdesk/include/unassigned.html b/helpdesk/templates/helpdesk/include/unassigned.html index 47e18bd1..09141701 100644 --- a/helpdesk/templates/helpdesk/include/unassigned.html +++ b/helpdesk/templates/helpdesk/include/unassigned.html @@ -40,6 +40,7 @@ {% for kbitem in kbitems %} +{% if kbitem.unassigned_tickets %}
@@ -78,4 +79,5 @@
+{% endif %} {% endfor %}