X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/92c4a21dbc8fa9ff9c8d10127b7afffed5341b23..70e2bb823a0c5792580a7ad60bef9d3f33978439:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 368126db8..2c81b2e98 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,15 +1,102 @@ -
-
- Na półkę! +{% load i18n %} +{% load social_tags %} +{% load thumbnail %} +
+
+ + + + {% if book.cover %} + Cover + {% endif %} + + {% block right-column %} + {% endblock %} +
+ + +
+ - {% if book.children.all|length %} -
- {% else %} -
- {% endif %} -
-

{{ book.title }}

-

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

-

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

+
+
+ +
+ + +
+
+ {% for name, url in related.tags.author %} + {{ name }}{% if not forloop.last %}, {% endif %} + {% endfor %} +
+
{{ book.title }}
+
+
+ {% spaceless %} + + {% trans "Epoch" %}:  + {% for name, url in related.tags.epoch %} + {{ name }} + {% endfor %} + + + {% trans "Kind" %}:  + {% for name, url in related.tags.kind %} + {{ name }} + {% endfor %} + + + {% trans "Genre" %}:  + {% for name, url in related.tags.genre %} + {{ 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 related.media.mp3 or related.media.ogg %} + {% trans "Listen" %} + {% endif %} +
  • +
+ {% block box-append %} + {% endblock %} +
+