src/egonomy/templates/partial/collection_in_list.html
changeset 159 b98558f8d2c1
child 204 1d22c4e915a9
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/egonomy/templates/partial/collection_in_list.html	Wed Jun 26 16:53:45 2013 +0200
@@ -0,0 +1,25 @@
+{% load static %}
+{% load i18n %}
+{% load thumbnail %}
+{# we suppose here that "col" has been defined #}
+<div class="tools toggle">
+    <ul class="clearfix">
+        <li><a title="Partager sur Twitter" class="tool twitter" href="#"></a></li>
+        <li><a title="Partager sur Facebook" class="tool facebook" href="#"></a></li>
+        <!--li><a title="Enregistrer" class="tool save" href="#"></a></li-->
+    </ul>
+</div>
+<a href="{% url 'view_collection' collection_pk=col.pk %}">
+<div class="top clearfix">
+    <img src="{% static 'egonomy/img/empty.gif' %}" width="113" height="113" class="placeholder" />
+    <img src="{% static 'egonomy/img/empty.gif' %}" width="113" height="113" class="placeholder" />
+</div>
+<div class="mid">
+    <h3>{{ col.title|default:_("No title") }}</h3>
+    <p>{% trans "by" %} {{ col.author }}</p>
+</div>
+<div class="bot clearfix">
+    <img src="{% static 'egonomy/img/empty.gif' %}" width="113" height="113" class="placeholder" />
+    <img src="{% static 'egonomy/img/empty.gif' %}" width="113" height="113" class="placeholder" />
+</div>
+</a>
\ No newline at end of file