X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/bd743f7ae0f46d0d2a68f80e3c3cf14313d61aa3..8c4fc1ee10f75c0dce4ba75c7bfe9a7ebe609ee9:/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 8e9c1f10..60e4c882 100755 --- a/apps/catalogue/templates/catalogue/book_detail.html +++ b/apps/catalogue/templates/catalogue/book_detail.html @@ -1,109 +1,100 @@ {% extends "catalogue/base.html" %} -{% load comments i18n %} +{% load book_list comments i18n %} -{% block leftcolumn %} +{% block content %} -{% trans "edit" %} -
{{ c.chunk.title }} | -{% 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 }}
+{% 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:" %}
+