From: julia <>
Date: Sat, 8 Mar 2008 23:17:22 +0000 (+0000)
Subject: fix
X-Git-Tag: 1.1~847
X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a9d7046ff652e60c596d04ac6817b2026deb99ec;p=telemeta.git
fix
---
diff --git a/telemeta/templates/collection_detail.html b/telemeta/templates/collection_detail.html
index 5936b9c5..e43ab70b 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 %}
diff --git a/telemeta/templates/collection_detail_dc.html b/telemeta/templates/collection_detail_dc.html
index 7d08ea2e..8f01ecac 100644
--- a/telemeta/templates/collection_detail_dc.html
+++ b/telemeta/templates/collection_detail_dc.html
@@ -16,6 +16,9 @@
- {{ element.name }}{{ element.refinement|default:" " }}
- {% ifequal element.field "collection" %}{{ element.value }}{% else %}{{ element.value }}{% endifequal %}
{% endif %}
{% endfor %}
+ {% for item in object.ordered_items %}
+ - relationhasPart
- {{ item.id }}
+ {% endfor %}
{% endblock %}
{% else %}
diff --git a/telemeta/templates/inc/collection_list.html b/telemeta/templates/inc/collection_list.html
index 70dea2b8..31fbf023 100644
--- a/telemeta/templates/inc/collection_list.html
+++ b/telemeta/templates/inc/collection_list.html
@@ -1,9 +1,10 @@
+{% load telemeta_utils %}
{% if collections %}
{% if hits %}
{% endif %}
diff --git a/telemeta/templates/inc/mediaitem_list.html b/telemeta/templates/inc/mediaitem_list.html
index 9f032481..b231f2ca 100644
--- a/telemeta/templates/inc/mediaitem_list.html
+++ b/telemeta/templates/inc/mediaitem_list.html
@@ -1,9 +1,10 @@
+{% load telemeta_utils %}
{% if items %}
{% if hits %}
{% endif %}