starting with the new look
[wolnelektury.git] / wolnelektury / templates / catalogue / book_mini_box.html
diff --git a/wolnelektury/templates/catalogue/book_mini_box.html b/wolnelektury/templates/catalogue/book_mini_box.html
new file mode 100755 (executable)
index 0000000..4ef82e1
--- /dev/null
@@ -0,0 +1,13 @@
+{% load i18n %}
+<div class="book-mini-box">
+    <a href="{{ book.get_absolute_url }}">
+        <img src="{{ STATIC_URL }}img/cover.png"
+                alt="{% trans "Book cover" %}" />
+        {% for author in authors %}
+            <div class="mono author">{{ author }}</div>
+            {{ book.title }}
+        {% endfor %}
+    </a>
+</div>
+
+