X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/19e20c4e4b6a7940977a293698d61e75810ff321..8132fc186eb0c5fd02c86828c3a4735754296d02:/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 7f3497b6..4712edf3 100755 --- a/apps/catalogue/templates/catalogue/book_detail.html +++ b/apps/catalogue/templates/catalogue/book_detail.html @@ -1,5 +1,9 @@ {% extends "catalogue/base.html" %} -{% load book_list comments i18n %} +{% load book_list i18n %} + + +{% block titleextra %}{{ book.title }}{% endblock %} + {% block content %} @@ -16,9 +20,12 @@ {% if editable %}{% endif %} - {% if editable %} -

{% trans "Append to other book" %}

+ {% if book.gallery %} +

{% trans "Edit gallery" %}

+ {% endif %} + +

{% trans "Append to other book" %}

{% endif %} @@ -42,7 +49,7 @@

{% trans "Publication" %}

- + {% if book.dc_cover_image %} {{ book.dc_cover_image }} {% endif %} @@ -58,11 +65,13 @@ {% if publishable %}

- {% trans "Full XML" %}
- {% trans "HTML version" %}
- {% trans "TXT version" %}
- {% trans "PDF version" %}
- {% trans "EPUB version" %}
+ {% 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 %} @@ -72,14 +81,15 @@ mira66 (http://www.flickr.com/photos/21804434@N02/) / CC BY 2.0 (http://creativecommons.org/licenses/by/2.0/) --> -
{% csrf_token %} + {% csrf_token %} + {{ publish_options_form.as_p }}
{% else %} - {% trans "Log in to publish." %} + {% trans "Log in to publish." %} {% endif %} {% else %}

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

@@ -90,14 +100,4 @@
- -
-

{% trans "Comments" %}

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