X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/4b6fc6dc545a10955094bfaa9448ba070cfb33bf..7605d3596bad00cbb815454faac690c6b06808f2:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 5557126da..ee097ae6a 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,68 +1,115 @@ {% load i18n %} +{% load catalogue_tags social_tags %} {% load thumbnail %} -
-
- +
+
+ + + {% if main_link %}{% endif %} {% if book.cover %} Cover {% endif %} - + {% if main_link %}{% endif %}
+ + +
+ +
+
+ +
+
+
+ +
- {% 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 }}
+
+ {% if main_link %}{% endif %} + {{ book.title }} + {% if main_link %}{% endif %} +
+
- {% spaceless %} + {% 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 %} + {% endspaceless %}
+ {% shelf_tags book %} + + {% block book-box-extra-info %}{% endblock %} + {% block box-append %} + {% endblock %} + {% block right-column %} + {% endblock %} +