X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/77baf8640ab29684909b9f57cd9d4999dad2071f..3badd77f743883992829a1174eef7c8d5e851766:/wolnelektury/templates/catalogue/book_short.html?ds=sidebyside diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 8ac23a3a6..2c81b2e98 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,7 +1,10 @@ {% load i18n %} +{% load social_tags %} {% load thumbnail %} -
-
+
+
+ + {% if book.cover %} Cover {% endif %} + {% block right-column %} + {% endblock %}
+ + +
+ +
+
+ +
+
+
+ +
- {% for author in tags.author %} - {{ author }} - {% endfor %} + {% for name, url in related.tags.author %} + {{ name }}{% if not forloop.last %}, {% endif %} + {% endfor %}
{{ book.title }}
@@ -26,20 +47,20 @@ {% spaceless %} {% trans "Epoch" %}:  - {% for tag in tags.epoch %} - {{ tag.name }} + {% for name, url in related.tags.epoch %} + {{ name }} {% endfor %} {% trans "Kind" %}:  - {% for tag in tags.kind %} - {{ tag.name }} + {% for name, url in related.tags.kind %} + {{ name }} {% endfor %} {% trans "Genre" %}:  - {% for tag in tags.genre %} - {{ tag.name }} + {% for name, url in related.tags.genre %} + {{ name }} {% endfor %} @@ -49,7 +70,7 @@
  • - {% if book.has_mp3_file %} - {% trans "Audiobook" %} + {% if related.media.mp3 or related.media.ogg %} + {% trans "Listen" %} {% endif %}
  • + {% block box-append %} + {% endblock %}