Added short_html method to Book model and removed (no longer used) book template...
[wolnelektury.git] / templates / catalogue / _book.html
diff --git a/templates/catalogue/_book.html b/templates/catalogue/_book.html
deleted file mode 100644 (file)
index 08cb12c..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<div class="book">
-    {% if request.user.is_authenticated %}
-    <div class="change-sets">
-        <a href="{% url catalogue.views.book_sets book.slug %}" class="jqm-trigger">Zestawy</a>
-    </div>
-    {% endif %}
-    <div class="book-thumbnail"></div>
-    <div class="book-description">
-        <h2><a href="{{ book.get_absolute_url }}">{{ book.title }}</a></h2>
-        <p style="margin: 0">Formaty: {{ formats|join:", "|safe }}</p>
-        <p style="margin: 0">Utwór w kategoriach: {{ tags|join:", "|safe }}</p>
-    </div>
-</div>
\ No newline at end of file