X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9c13fb6245a966d5890b11e7e0d8ccb6692cfacd..fa684e7b11bba7f7fce1c0e7832b34d0b8593db4:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index 8b36718e0..ee097ae6a 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,18 +1,115 @@ {% 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 main_link %}{% endif %} + {% if book.cover %} + Cover {% endif %} -

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

+ {% if main_link %}
{% endif %} +
+ + +
+ +
+
+ +
+
+
+ + +
+
+ {% for name, slug in related.tags.author %} + {{ name }}{% if not forloop.last %}, + {% endif %}{% endfor %}{% for title, slug in related.parents %}, + {{ title }}{% endfor %} +
+
+ {% if main_link %}{% endif %} + {{ book.title }} + {% if main_link %}{% endif %} +
+
+ +
+ {% 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 %} +
-
\ No newline at end of file + {% 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 %} +
+
+