From: Guillaume Pellerin Date: Mon, 1 Dec 2014 14:06:25 +0000 (+0100) Subject: Back to the original collection item list display X-Git-Tag: 1.5.0rc2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=bb09beddef2e10ac108b7449f34a9f1569fd2c33;p=telemeta.git Back to the original collection item list display --- diff --git a/telemeta/templates/telemeta/collection_detail.html b/telemeta/templates/telemeta/collection_detail.html index aaa41ff3..7cb594a4 100644 --- a/telemeta/templates/telemeta/collection_detail.html +++ b/telemeta/templates/telemeta/collection_detail.html @@ -78,11 +78,13 @@ {% block content %}
{% block infos %} +
+ {% if collection.items.count %}{{ collection.items.count }} {% ifequal collection.items.count 1 %}item{% else %}items{% endifequal %} ({% trans "View list" %}){% else %}No item{% endif %} +
+
{% block general_info %}
-
{% trans "Items" %}
-
{% if collection.items.count %}{{ collection.items.count }} ({% trans "View list" %}){% else %}No item{% endif %}
{% dl_field collection "title" %} {% dl_field collection "alt_title" %} {% if collection.creator %}