X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b7d5131321533374cdcb85542ef4dcb53269863d..6c071c6cbb739209e9d8488ff7080f8ad7c7d2d0:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 3012069f9..524617425 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,17 +1,68 @@ -
-
- Na półkę! -
- {% if book.children.all|length %} -
- {% else %} -
- {% endif %} -
-

{{ book.title }}

- {% if formats %} -

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

+{% load i18n %} +{% load thumbnail %} +
+
+ + {% if book.cover %} + Cover {% endif %} -

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

+
+
+
+
+ {% 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 %} +
+ +