X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/69191eddb9e4221d964a7e5b044ff7c5dfe38315..f2056dbaafa8f6a5bf72ef25ecf77060693ba35d:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index a6d3028d1..383b1efa2 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 book.cover %}
- {% for name, url in related.tags.author %} - {{ name }}{% if not forloop.last %}, + {% for name, slug in related.tags.author %} + {{ name }}{% if not forloop.last %}, {% endif %}{% endfor %}{% for title, slug in related.parents %}, - {{ title }} - {% endfor %} + {{ title }}{% endfor %}
- +
{% spaceless %} {% trans "Epoch" %}:  - {% for name, url in related.tags.epoch %} - {{ name }} + {% for name, slug in related.tags.epoch %} + {{ name }} {% endfor %} {% trans "Kind" %}:  - {% for name, url in related.tags.kind %} - {{ name }} + {% for name, slug in related.tags.kind %} + {{ name }} {% endfor %} {% trans "Genre" %}:  - {% for name, url in related.tags.genre %} - {{ name }} + {% for name, slug in related.tags.genre %} + {{ name }} {% endfor %} @@ -72,8 +71,6 @@
- {% block book-box-extra-info %}{% endblock %} - + {% block book-box-extra-info %}{% endblock %} {% block box-append %} {% endblock %}