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

{{ book.title }}

{% if editable %}
{% csrf_token %}{% endif %} {{ form.as_table }} {% if editable %} {% endif %}
{% if editable %}
{% endif %} {% if editable %}

{% trans "Append to other book" %}

{% endif %}

{% trans "Chunks" %}

{% for chunk in book %} {{ chunk.short_html|safe }} {% endfor %}

{% trans "Publication" %}

{% 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 "EPUB version" %}

{% if user.is_authenticated %}
{% csrf_token %}
{% else %} {% trans "Log in to publish." %} {% endif %} {% else %}

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

{% endif %}

{% trans "Comments" %}

{% render_comment_list for book %} {% with book.get_absolute_url as next %} {% render_comment_form for book %} {% endwith %}
{% endblock content %}