{% extends "documents/base.html" %} {% load book_list i18n %} {% load bootstrap4 %} {% load depot %} {% load isbn %} {% 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 }}

{% if cbook.slug != book.dc_slug %}

Slug książki w metadanych tekstu nie zgadza się ze slugiem książki w katalogu.

Upewnij się że tekst jest przypisany do właściwego rekordu w katalogu:
{{ book.dc_slug }} (tekst)
{{ cbook.slug }} (katalog)

{% endif %} {% else %}

Tekst nie przypisany do rekordu książki w katalogu.

{% if book.dc_slug %} {% if cbook_by_slug %} W katalogue znajduje się rekord książki o slugu:
{{ book.dc_slug }}

{% if request.user.is_staff %}
{% csrf_token %}
{% endif %} {% else %}

W katalogu brak rekordu o slugu:
{{ book.dc_slug }}

{% endif %} {% else %}

Ten tekst nie ma slugu określonego w metadanych.

{% endif %} {% endif %} {% endwith %}

{% trans "Chunks" %}

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

{% trans "Publication" %} | {% if book.project %} {% if book.project.can_sell %} 💶 {% else %} 🙅 {% endif %} {% else %} {% endif %} {% if has_audio %} | 🎧 {% if can_sell_audio %} 💶 {% else %} 🙅 {% endif %} {% endif %}

{% 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" %} sprawdź
{% trans "MOBI version" %}

Sprawdź synchronizację

{% isbn_status book %} {% if user.is_authenticated %}
{% csrf_token %} {{ publish_options_form.as_p }}
{% if perms.depot.add_sitebookpublish %} {% depot_sites book as sites %} {% for site in sites %}

{{ site.name }}

{% if not site.errors %}
{% csrf_token %}
{% for info in site.info %}
{{ info }}
{% endfor %} {% else %} {% for error in site.errors %}
{{ error }}
{% endfor %} {% for info in site.info %}
{{ info }}
{% endfor %} {% endif %} {% for warning in site.warnings %}
{{ warning }}
{% endfor %} {% if site.id %} id:{{ site.id }} {% endif %} {% with last=site.last %} {% if last %} {{ last.created_at }} → {{ last.started_at }} → {{ last.finished_at }} ({{ last.get_status_display }}) {% endif %} {% endwith %} {% endfor %} {% endif %} {% else %} {% trans "Log in to publish." %} {% endif %} {% else %}

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

  • {{ publishable_error }}
{% endif %}
{% if stats %}

{% trans "Statistics" %}

{% include 'documents/book_stats.html' with book=doc stats=stats depth=0 %}
{% 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 %}