X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7583035c199c378c8d019937d155992709536b91..64cf4d889127d7dc3ea893e8a27711468276dc47:/apps/catalogue/templates/catalogue/book_short.html diff --git a/apps/catalogue/templates/catalogue/book_short.html b/apps/catalogue/templates/catalogue/book_short.html index 73e5cb8fb..4acefe285 100644 --- a/apps/catalogue/templates/catalogue/book_short.html +++ b/apps/catalogue/templates/catalogue/book_short.html @@ -2,23 +2,10 @@ {% load catalogue_tags social_tags %} {% load thumbnail %}
-
+
+
-
- {% if book.cover %} - {% if main_link %}{% endif %} - Cover - {% if main_link %}{% endif %} - {% endif %} - {% block cover-area-extra %}{% endblock %} -
@@ -40,9 +27,9 @@
-
- {% for name, slug in related.tags.author %} - {{ name }}{% if not forloop.last %}, +
+ {% for tag in related.tags.author %} + {% related_tag_name tag %}{% if not forloop.last %}, {% endif %}{% endfor %}{% for title, slug in related.parents %}, {{ title }}{% endfor %}
@@ -53,29 +40,46 @@
+
+ {% if book.cover %} + {% if main_link %}{% endif %} + Cover + {% if main_link %}{% endif %} + {% endif %} + {% block cover-area-extra %}{% endblock %} +
{% spaceless %} + {% trans "Epoch" %}:  - {% for name, slug in related.tags.epoch %} - {{ name }} - {% if not forloop.last %}{% endif %} + {% for tag in related.tags.epoch %} + {% related_tag_name tag %} + {% if not forloop.last %}, {% endif %} {% endfor %} - + + {% trans "Kind" %}:  - {% for name, slug in related.tags.kind %} - {{ name }} - {% if not forloop.last %}{% endif %} + {% for tag in related.tags.kind %} + {% related_tag_name tag %} + {% if not forloop.last %}, {% endif %} {% endfor %} - + + {% trans "Genre" %}:  - {% for name, slug in related.tags.genre %} - {{ name }} - {% if not forloop.last %}{% endif %} + {% for tag in related.tags.genre %} + {% related_tag_name tag %} + {% if not forloop.last %}, {% endif %} {% endfor %} - + {% endspaceless %}
@@ -85,12 +89,12 @@ {% block book-box-extra-info %}{% endblock %} {% block box-append %} {% endblock %} +
{% block right-column %} {% endblock %}