{% extends "documents/base.html" %} {% load book_list i18n %} {% load bootstrap4 %} {% block titleextra %}{{ book.title }}{% endblock %} {% block content %}

{{ book.title }}

{% if editable %}
{% csrf_token %}{% endif %} {% bootstrap_form form %} {% if editable %} {% buttons %} {% endbuttons %} {% endif %} {% if editable %}
{% endif %} {% if editable %} {% if book.gallery %}

{% trans "Edit gallery" %}

{% endif %}

{% trans "Append to other book" %}

{% endif %}
{% with cbook=book.catalogue_book %} {% if cbook %} W katalogu: {{ cbook }} {% endif %} {% endwith %}

{% trans "Chunks" %}

{% for chunk in book %} {% include 'documents/book_list/chunk.html' %} {% endfor %}

{% trans "Publication" %}

{% if book.dc_cover_image %} {{ book.dc_cover_image }} {% endif %}

{% csrf_token %}


Pobierz okładkę:

{% trans "Last published" %}: {% if book.last_published %} {{ book.last_published }} {% else %} — {% endif %}

{% if publishable %}

{% trans "Full XML" %}
{% trans "HTML version" %}
{% trans "TXT version" %}
{% trans "PDF version" %}
{% trans "PDF version for mobiles" %}
{% trans "EPUB version" %}
{% trans "MOBI version" %}

{% if user.is_authenticated %}
{% csrf_token %} {{ publish_options_form.as_p }}
{% if perms.depot.add_legimibookpublish %}
{% with thema_main=doc.book_info.thema_main thema=doc.book_info.thema %} {% if thema_main or thema %}
{% csrf_token %} {% with llp=book.last_legimi_publish %} {% if llp %} {{ llp.created_at }} → {{ llp.started_at }} → {{ llp.finished_at }} ({{ llp.get_status_display }}) {% endif %} {% endwith %}
{% else %}
Nie można opublikować na Legimi, ponieważ nie ustalono kategorii Thema.
{% endif %} {% endwith %} {% endif %} {% else %} {% trans "Log in to publish." %} {% endif %} {% else %}

{% trans "This book can't be published yet, because:" %}

  • {{ publishable_error }}
{% endif %}
{% if doc %}

{% trans "Statistics" %}

{% with stats=doc.get_statistics %} {% include 'documents/book_stats.html' with book=book stats=stats depth=0 %} {% endwith %}
{% trans "book" %} {% trans "characters" %} {% trans "characters (with footnotes)" %} {% trans "words" %} {% trans "words (with footnotes)" %} {% trans "wiersze (+ inne znaki)" %} {% trans "wiersze (+ inne znaki, z przypisami)" %}
{% endif %} {% endblock content %}