X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b65636fcd90b21946fead6813d7f1312e7ade6ce..92bcb49ab1a4bf73225b8dec1cf09fd6dff8a879:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 90ac6af01..1b1eb4b43 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,11 +1,11 @@ {% load i18n %} -{% load social_tags %} +{% load catalogue_tags social_tags %} {% load thumbnail %}
- + {% if main_link %}{% endif %} {% if book.cover %} Cover {% endif %} - - {% block right-column %} - {% endblock %} + {% if main_link %}{% endif %}
@@ -37,56 +35,67 @@
- {% for name, url in related.tags.author %} - {{ name }}{% if not forloop.last %}, {% endif %} - {% 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 }}
+
+ {% if main_link %}{% endif %} + {{ book.title }} + {% if main_link %}{% endif %} +
+
- {% spaceless %} + {% spaceless %} - {% trans "Epoch" %}:  - {% for name, url in related.tags.epoch %} - {{ name }} + {% trans "Epoch" %}:  + {% for name, slug in related.tags.epoch %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% trans "Kind" %}:  - {% for name, url in related.tags.kind %} - {{ name }} + {% trans "Kind" %}:  + {% for name, slug in related.tags.kind %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% trans "Genre" %}:  - {% for name, url in related.tags.genre %} - {{ name }} + {% trans "Genre" %}:  + {% for name, slug in related.tags.genre %} + {{ name }} + {% if not forloop.last %}{% endif %} {% endfor %} - {% endspaceless %} + {% endspaceless %}
+ {% shelf_tags book %} + + {% block book-box-extra-info %}{% endblock %} {% block box-append %} {% endblock %} + {% block right-column %} + {% endblock %} +