X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d5a4e2346ceaa436eb64372ad099ebbffd78db2e..e24e657ebf536f55c1bde66bd41563fae30a98b0:/src/catalogue/templates/catalogue/book_short.html diff --git a/src/catalogue/templates/catalogue/book_short.html b/src/catalogue/templates/catalogue/book_short.html index 4c69492f8..190bdc8f9 100644 --- a/src/catalogue/templates/catalogue/book_short.html +++ b/src/catalogue/templates/catalogue/book_short.html @@ -1,5 +1,6 @@ {% spaceless %} {% load i18n %} + {% load thumbnail %} {% load cache %} {% load catalogue_tags %} {% load book_shelf_tags from social_tags %} @@ -10,10 +11,6 @@
- {% block book-box-pre %} - {% include "catalogue/snippets/like_button.html" %} - {% endblock %} - {% with book.tags_by_category as tags %}
@@ -21,9 +18,9 @@ {% endblock %}
- {% if book.cover_thumb %} + {% if book.cover_clean %} - Cover + Cover {% endif %} {% block cover-area-extra %}{% endblock %} @@ -50,7 +47,7 @@
- {% trans "Epoch" %}:  + {% trans "Epoka" %}:  {% for tag in tags.epoch %} {{ tag.name }} {% if not forloop.last %}, {% endif %} @@ -58,7 +55,7 @@ - {% trans "Kind" %}:  + {% trans "Rodzaj" %}:  {% for tag in tags.kind %} {{ tag.name }} {% if not forloop.last %}, {% endif %} @@ -66,7 +63,7 @@ - {% trans "Genre" %}:  + {% trans "Gatunek" %}:  {% for tag in tags.genre %} {{ tag.name }} {% if not forloop.last %}, {% endif %} @@ -84,7 +81,7 @@ {% if book.is_foreign %} - {% trans "Language" %}:  + {% trans "Język" %}:  {{ book.language_name }} @@ -108,50 +105,51 @@ {% else %} {% block preview-info %}

- {% trans "For now this work is only available for our subscribers." %} - Dołącz do Towarzystwa Przyjaciół Wolnych Lektur + Ten utwór jest na razie dostępny wyłącznie dla naszych Darczyńców. + Wspieraj Wolne Lektury

+
{% content_warning book %}
{% endblock %} {% endif %} {% endcache %} @@ -160,13 +158,6 @@
{% endwith %} - {% block right-column %} - {% if audiobooks %}{% if book|status:request.user != 'closed' %} -
- {% include 'catalogue/snippets/jplayer.html' %} -
- {% endif %}{% endif %} - {% endblock %} {% if book.abstract %}
{{ book.abstract|safe }}