From 36ab41eba1e7714f2c18edf8a5db4300e0f03157 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 21 Aug 2023 11:11:52 +0200 Subject: [PATCH] comment/comments --- app/templates/listitem.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/templates/listitem.html b/app/templates/listitem.html index a243ad3..ba0b145 100644 --- a/app/templates/listitem.html +++ b/app/templates/listitem.html @@ -10,7 +10,9 @@ {% if item.public_comments.count %}
- {{ item.public_comments.count }} comments + {% with comments=item.public_comments.count %} + {{ comments }} comment{{ comments |pluralize }} + {% endwith %}
{% endif %}