X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/735368cfb54c8954518179993dcd3bc55e3878e7..f2056dbaafa8f6a5bf72ef25ecf77060693ba35d:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 8b36718e0..383b1efa2 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,18 +1,108 @@ {% load i18n %} -
-
- {% trans "Put on the shelf!" %} -
- {% if book.children.all|length %} -
- {% else %} -
- {% endif %} -
-

{{ book.title }}

- {% if formats %} -

{% trans "Jump to" %}: {{ formats|join:", " }}

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

{% trans "Categories" %}: {{ tags|join:", " }}

+
+ {% 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 %} +
+ +
+
+ {% spaceless %} + + {% trans "Epoch" %}:  + {% for name, slug in related.tags.epoch %} + {{ name }} + {% endfor %} + + + {% trans "Kind" %}:  + {% for name, slug in related.tags.kind %} + {{ name }} + {% endfor %} + + + {% trans "Genre" %}:  + {% for name, slug in related.tags.genre %} + {{ name }} + {% endfor %} + + + {% endspaceless %} + + {% shelf_tags book %} +
-
\ No newline at end of file + +
    +
  • + {% 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 %} +
+
+