mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 01:13:31 +01:00
Don't show kbitems on dashboard if there are no unassigned tickets in them
This commit is contained in:
parent
fe17124092
commit
247fd2e26d
@ -40,6 +40,7 @@
|
||||
</div>
|
||||
|
||||
{% for kbitem in kbitems %}
|
||||
{% if kbitem.unassigned_tickets %}
|
||||
<div class="card mb-3">
|
||||
<div class="card-header">
|
||||
<i class="fas fa-table"></i>
|
||||
@ -78,4 +79,5 @@
|
||||
</div>
|
||||
<div class="card-footer small text-muted">Listing {{ kbitem.unassigned_tickets|length }} ticket(s).</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user