From fc52d253ddb50f2b9d0fa182d8e32033e20f35c3 Mon Sep 17 00:00:00 2001 From: olivier <> Date: Fri, 7 Mar 2008 15:35:32 +0000 Subject: [PATCH] write item and not items with a single result --- telemeta/templates/collection_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemeta/templates/collection_detail.html b/telemeta/templates/collection_detail.html index 63c7ee4c..ed721e9f 100644 --- a/telemeta/templates/collection_detail.html +++ b/telemeta/templates/collection_detail.html @@ -48,7 +48,7 @@ {% endif %}
- {% if object.items.count %}{{ object.items.count }} {% ifequal object.items.count '1' %}item{% else %}items{% endifequal %}{% else %}No item{% endif %} + {% if object.items.count %}{{ object.items.count }} {% ifequal object.items.count 1 %}item{% else %}items{% endifequal %}{% else %}No item{% endif %}
-- 2.39.5