+ {% block book-box-pre %}
+ {% include "catalogue/snippets/like_button.html" %}
+ {% endblock %}
-
+ {% with book.tags_by_category as tags %}
+
+
{% block book-box-body-pre %}
{% endblock %}
-
-
- {% for tag in tags.author %}
-
{{ tag.name }}{% if not forloop.last %},
- {% endif %}{% endfor %}{% for parent in parents %},
-
{{ parent.title }}{% endfor %}
-
-
+
+ {% if book.cover_thumb %}
+
+
+
+ {% endif %}
+ {% block cover-area-extra %}{% endblock %}
-
- {% if book.cover_thumb %}
- {% if main_link %}
{% endif %}
-
- {% if main_link %}{% endif %}
- {% endif %}
- {% block cover-area-extra %}{% endblock %}
+ {% get_current_language as LANGUAGE_CODE %}
+ {% cache 86400 book_box_head_tags book.pk LANGUAGE_CODE %}
+
+
+ {% for tag in tags.author %}
+
{{ tag.name }}{% if not forloop.last %},
+ {% endif %}{% endfor %}{% for parent in book.parents %},
+
{{ parent.title }}{% endfor %}
+
+
+ {% if book.translator %}
+
+ tÅum. {{ book.translator }}
+
+ {% endif %}
-
- {% book_shelf_tags book.pk %}
+ {% endcache %}
+
+ {% book_shelf_tags book.pk %}
-
+ {% if book.has_mp3_file %}
+
+ {% trans "Download audiobook" %}:
+ {% download_audio book %}
+
+ {% endif %}
+
+ {% custom_pdf_link_li book %}
+
+
+
+ {% else %}
+ {% block preview-info %}
+
+ {% trans "For now this work is only available for our subscribers." %}
+ DoÅÄ
cz do Towarzystwa PrzyjacióŠWolnych Lektur
+
+
{% content_warning book %}
+ {% endblock %}
+ {% endif %}
+ {% endcache %}
+ {% block book-box-extra-info %}{% endblock %}
+ {% block box-append %}{% endblock %}
+
+ {% endwith %}
-{% block right-column %}
- {% if audiobooks %}
-
- {% include 'catalogue/snippets/jplayer.html' %}
+ {% 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 }}
+
{% endif %}
-{% endblock %}
-
-
-