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

{{ book.title }}

- {% if formats %} -

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

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

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

+
+ {% block right-column %} + {% endblock %} +
+ + +
+ +
+
+ +
+
+
+ + +
+
+ {% for name, slug in related.tags.author %} + {{ name }}{% if not forloop.last %}, + {% endif %}{% endfor %}{% for title, slug in related.parents %}, + {{ title }}{% endfor %} +
+ +
+
+ {% trans "Epoch" %}:  + {% for name, slug in related.tags.epoch %} + {{ name }} + {% if not forloop.last %}{% endif %} + {% endfor %} + + + {% trans "Kind" %}:  + {% for name, slug in related.tags.kind %} + {{ name }} + {% if not forloop.last %}{% endif %} + {% endfor %} + + + {% trans "Genre" %}:  + {% for name, slug in related.tags.genre %} + {{ name }} + {% if not forloop.last %}{% endif %} + {% endfor %} + + + {% shelf_tags book %} +
+ +
    +
  • + {% if book.html_file %} + {% trans "Read online" %} + {% endif %} +
  • +
  • + {% trans "Download" %} +
    + {% if book.pdf_file %} + PDF do wydruku + {% endif %} + {% if book.epub_file %} + EPUB na czytnik + {% endif %} + {% if book.mobi_file %} + MOBI na Kindle + {% endif %} + {% if book.txt_file %} + TXT do zadań specjalnych + {% endif %} +
    +
  • +
  • + {% if related.media.mp3 or related.media.ogg %} + {% trans "Listen" %} + {% endif %} +
  • +
+ {% block book-box-extra-info %}{% endblock %} + {% block box-append %} + {% endblock %} +
+