X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/ea8f84ddca76adc928172a3718468b19c8b4aa15..3768325f42689394f4639ff92e3cc483670c0d17:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index a94244229..3541d0f74 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,11 +1,111 @@ -
-
- Na półkę! +{% load i18n %} +{% load catalogue_tags social_tags %} +{% load thumbnail %} +
+
+ + + + {% if book.cover %} + Cover + {% endif %} + +
+ + +
+ -
-
-

{{ book.title }}

-

Formaty: {{ formats|join:", "|safe }}

-

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

+
+
+ +
+ + +
+
+ {% for name, slug in related.tags.author %} + {{ name }}{% if not forloop.last %}, + {% endif %}{% endfor %}{% for title, slug in related.parents %}, + {{ title }}{% endfor %} +
+ +
+ +
+ {% spaceless %} + + {% 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 %} + + + {% endspaceless %} +
+
+ {% shelf_tags book %} + +
    +
  • + {% if book.html_file %} + {% trans "Read online" %} + {% endif %} +
  • +
  • + {% trans "Download" %} +
    + {% if book.pdf_file %} + PDF {% trans "to print" %} + {% endif %} + {% if book.epub_file %} + EPUB {% trans "for an e-book reader" %} + {% endif %} + {% if book.mobi_file %} + MOBI {% trans "for Kindle" %} + {% endif %} + {% if book.txt_file %} + TXT {% trans "for advanced usage" %} + {% endif %} +
    +
  • +
  • + {% if related.media.mp3 or related.media.ogg %} + {% trans "Listen" %} + {% endif %} +
  • +
+ {% block book-box-extra-info %}{% endblock %} + {% block box-append %} + {% endblock %} + {% block right-column %} + {% endblock %} +
+
+