X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/938fc832934e508085dad3645c01060a4dc9f0c9..642e83337054cbef44f9ee3335dcf7f50224dd9e:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 9800a0cae..304cdc63e 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,11 +1,14 @@ {% load i18n %} +{% load catalogue_tags social_tags %} {% load thumbnail %} -
-
- +
+
+ + + {% if book.cover %} Cover {% endif %} + {% block right-column %} + {% endblock %}
+ + +
+ +
+
+ +
+
+
+ +
- {% for author in tags.author %} - {{ author }} - {% endfor %} + {% for name, slug in related.tags.author %} + {{ name }}{% if not forloop.last %}, + {% endif %}{% endfor %}{% for title, slug in related.parents %}, + {{ title }}{% endfor %}
-
{{ book.title }}
+
-
- {% spaceless %} - {% trans "Epoch" %}:  - {% for tag in tags.epoch %} - {{ tag.name }} +
+ {% trans "Epoch" %}:  + {% for name, slug in related.tags.epoch %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% trans "Kind" %}:  - {% for tag in tags.kind %} - {{ tag.name }} + {% trans "Kind" %}:  + {% for name, slug in related.tags.kind %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% trans "Genre" %}:  - {% for tag in tags.genre %} - {{ tag.name }} + {% trans "Genre" %}:  + {% for name, slug in related.tags.genre %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% endspaceless %}
+ {% shelf_tags book %} + + {% block book-box-extra-info %}{% endblock %} + {% block box-append %} + {% endblock %} +