X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/82fa12952975d2857e2eb02d66a7f133fd4d5e2e..7cf1f5926f871122e6e240432531ae942c4f9df1:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 7f93a592b..1b6466648 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,15 +1,71 @@ -
-
- Na półkę! -
- {% if book.children %} -
- {% else %} -
- {% endif %} -
-

{{ book.title }}

-

Na skróty: {{ formats|join:", "|safe }}

-

Utwór w kategoriach: {{ tags|join:", "|safe }}

+{% load i18n %} +{% load thumbnail %} +
+
+ + {% if book.cover %} + Cover + {% endif %} + +
+
+
+ {% for author in tags.author %} + {{ author }} + {% endfor %} +
+
{{ book.title }}
+
+
+ {% spaceless %} + + {% trans "Epoch" %}:  + + {% for tag in tags.epoch %} + {{ tag.name }} + {% endfor %} + + + {% trans "Kind" %}:  + + {% for tag in tags.kind %} + {{ tag.name }} + {% endfor %} + + + {% trans "Genre" %}:  + + {% for tag in tags.genre %} + {{ tag.name }} + {% endfor %} + + + {% endspaceless %} +
+ +