X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7e6d14043e3e2dce8e3fdcef0b0fc649680b07b3..b65636fcd90b21946fead6813d7f1312e7ade6ce:/wolnelektury/templates/catalogue/book_short.html diff --git a/wolnelektury/templates/catalogue/book_short.html b/wolnelektury/templates/catalogue/book_short.html index aced8bf48..90ac6af01 100644 --- a/wolnelektury/templates/catalogue/book_short.html +++ b/wolnelektury/templates/catalogue/book_short.html @@ -1,18 +1,102 @@ {% load i18n %} -
-
- {% trans "Put on the shelf!" %} -
- {% if book.children.all|length %} -
- {% else %} -
- {% endif %} -
-

{{ book.title }}

- {% if formats %} -

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

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

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

+
+ {% block right-column %} + {% endblock %} +
+ + +
+ +
+
+ +
+
+
+ + +
+
+ {% 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 %} +
-
\ No newline at end of file +
    +
  • + {% 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 %} +
+