X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e883fa899b3df6e047f9e821a7ca81f53a02ddba..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 6942bc499..4acefe285 100644 --- a/apps/catalogue/templates/catalogue/book_short.html +++ b/apps/catalogue/templates/catalogue/book_short.html @@ -2,31 +2,23 @@ {% load catalogue_tags social_tags %} {% load thumbnail %}
-
+
+
- {% if main_link %}{% endif %} - {% if book.cover %} - Cover - {% endif %} - {% if main_link %}{% endif %} -
+ + +
-
+ {% csrf_token %}
@@ -35,11 +27,11 @@
-
- {% 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 %} + {{ title }}{% endfor %}
+
+ {% 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 %}
@@ -80,12 +89,12 @@ {% block book-box-extra-info %}{% endblock %} {% block box-append %} {% endblock %} +
{% block right-column %} {% endblock %}