add favicon, reverse page titles
[redakcja.git] / apps / cover / templates / cover / image_list.html
index 5b2b000..50443ed 100755 (executable)
@@ -1,8 +1,8 @@
 {% extends "catalogue/base.html" %}
 {% load i18n %}
-{% load url from future %}
 {% load thumbnail pagination_tags %}
 
+{% block titleextra %}{% trans "Cover images" %}{% endblock %}
 
 {% block content %}
 <h1>{% trans "Cover images" %}</h1>
 <ul>
 {% autopaginate object_list 100 %}
 {% for image in object_list %}
-    <a href="{{ image.get_absolute_url }}">
+    <a href="{{ image.get_absolute_url }}" style="display:inline-block; width:200px;">
     
-    <img style="height: 200px"
-        src="{% thumbnail image.file "x200" as thumb %}
+    <img style="height: 100px"
+        src="{% thumbnail image.file "x100" as thumb %}
                 {{ thumb.url }}
              {% empty %}
                 {{ image.file.url }}
              {% endthumbnail %}" />
+        <br/>
         {{ image }}</a>
 {% endfor %}
 {% paginate %}