X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73ce961f14509aabfa26536f847afd28111029c6..3badd77f743883992829a1174eef7c8d5e851766:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 7f262374d..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 %} + + +
+ +
+
+ +
+
+
+ +
- {% for author in tags.author %} - {{ author }} - {% endfor %} + {% for name, url in related.tags.author %} + {{ name }}{% if not forloop.last %}, {% endif %} + {% endfor %}
{{ book.title }}
@@ -28,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 %} @@ -72,7 +91,7 @@
  • - {% if book.has_mp3_file %} + {% if related.media.mp3 or related.media.ogg %} {% trans "Listen" %} {% endif %}