X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/14f2e79b2ca9b5359ef95988a4a3a5e510df244e..0e411544dd2afaafb14b0ee5a66698741915760c:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 41d3212f3..7f262374d 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,17 +1,83 @@ -
-
- Na półkę! -
- {% if book.children.all|length %} -
- {% else %} -
- {% endif %} -
-

{{ book.title }}

- {% if formats %} -

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

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

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

+
+ {% block right-column %} + {% endblock %} +
+
+
+ {% 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 %} +
+
    +
  • + {% if book.html_file %} + {% trans "Read online" %} + {% endif %} +
  • +
  • + {% trans "Download" %} +
    + {% if formats.pdf %} + PDF do wydruku + {% endif %} + {% if formats.epub %} + EPUB na czytnik + {% endif %} + {% if formats.mobi %} + MOBI na Kindle + {% endif %} + {% if formats.txt %} + TXT do zadań specjalnych + {% endif %} +
    +
  • +
  • + {% if book.has_mp3_file %} + {% trans "Listen" %} + {% endif %} +
  • +
+ {% block box-append %} + {% endblock %} +