X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fdd62169ba22c4c1be2f2306b5339eadd74ffb6d..262e5b840d45e85c7ccee6d92baed937ee545a65:/apps/catalogue/templates/catalogue/book_detail.html diff --git a/apps/catalogue/templates/catalogue/book_detail.html b/apps/catalogue/templates/catalogue/book_detail.html index aac190ad..60e4c882 100755 --- a/apps/catalogue/templates/catalogue/book_detail.html +++ b/apps/catalogue/templates/catalogue/book_detail.html @@ -1,106 +1,100 @@ {% extends "catalogue/base.html" %} -{% load comments i18n %} +{% load book_list comments i18n %} -{% block leftcolumn %} +{% block content %} -{% trans "edit" %} -
{{ c.chunk.comment }} | -{% for fix in c.fix %}
+{{ book.title }}- {% ifequal fix "wl" %}</>{% endifequal %} - {% ifequal fix "bad-master" %}master{% endifequal %} - - {% ifequal fix "trim-begin" %}✁{% endifequal %} +{% if editable %}{% endif %} - {% ifequal fix "trim-end" %}✃{% endifequal %} +{% if editable %} + {% if book.gallery %} + + {% endif %} - {% endfor %} +{% trans "Append to other book" %} +{% endif %} - {% ifequal c.grade "plain" %} - {% trans "unstructured text" %} - {% endifequal %} - {% ifequal c.grade "xml" %} - {% trans "unknown XML" %} - {% endifequal %} +
- {% ifequal c.grade "wl-broken" %}
- {% trans "broken document" %}
- {% endifequal %}
+ {% trans "Chunks" %}- |
- [{% trans "edit" %}] | -{% if c.chunk.publishable %}P{% endif %} | -{% if c.chunk.user.is_authenticated %} - {{ c.chunk.user }} - {% endif %} | -[+] | -
- - |
{% trans "Append to other book" %}
+{% trans "Last published" %}: {{ book.last_published }}
-{% if book.publishable %} +{% trans "Last published" %}: + {% if book.last_published %} + {{ book.last_published }} + {% else %} + — + {% endif %} +
+ +{% if publishable %}
- {% trans "Full XML" %}
- {% trans "HTML version" %}
- {% trans "TXT version" %}
+ {% trans "Full XML" %}
{% comment %}
- {% trans "EPUB version" %}
- {% trans "PDF version" %}
+ {% trans "HTML version" %}
+ {% trans "TXT version" %}
+ {% trans "PDF version" %}
{% endcomment %}
{% trans "This book can't be published yet, because:" %}
+