From 44ab4334272d66895d99610d0b64858ae0192a3d Mon Sep 17 00:00:00 2001 From: j Date: Wed, 16 Aug 2023 17:32:59 +0200 Subject: [PATCH] show comment count only if we have comments --- app/templates/listitem.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/templates/listitem.html b/app/templates/listitem.html index b5d3e5a..a243ad3 100644 --- a/app/templates/listitem.html +++ b/app/templates/listitem.html @@ -8,8 +8,10 @@ + {% if item.public_comments.count %}
{{ item.public_comments.count }} comments
+ {% endif %}