X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6c071c6cbb739209e9d8488ff7080f8ad7c7d2d0..b65636fcd90b21946fead6813d7f1312e7ade6ce:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 524617425..90ac6af01 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,11 +1,14 @@ {% load i18n %} +{% load social_tags %} {% load thumbnail %} -
-
+
+
+ + {% if book.cover %} Cover {% endif %} + {% block right-column %} + {% endblock %}
+ + +
+ +
+
+ +
+
+
+ +
- {% for author in tags.author %} - {{ author }} - {% endfor %} + {% for name, url in related.tags.author %} + {{ name }}{% if not forloop.last %}, {% endif %} + {% endfor %}
{{ book.title }}
@@ -26,20 +47,20 @@ {% spaceless %} {% trans "Epoch" %}:  - {% for tag in tags.epoch %} - {{ tag.name }} + {% for name, url in related.tags.epoch %} + {{ name }} {% endfor %} {% trans "Kind" %}:  - {% for tag in tags.kind %} - {{ tag.name }} + {% for name, url in related.tags.kind %} + {{ name }} {% endfor %} {% trans "Genre" %}:  - {% for tag in tags.genre %} - {{ tag.name }} + {% for name, url in related.tags.genre %} + {{ name }} {% endfor %} @@ -49,20 +70,33 @@ + {% block box-append %} + {% endblock %}