1 {% extends "catalogue/base.html" %}
2 {% load book_list comments i18n %}
5 {% block titleextra %}{{ object.title }}{% endblock %}
11 <h1>{{ object.title }}</h1>
14 {% if editable %}<form method='POST'>{% csrf_token %}{% endif %}
15 <table class='editable'><tbody>
18 <tr><td></td><td><button type="submit">{% trans "Save" %}</button></td></tr>
21 {% if editable %}</form>{% endif %}
26 <h2>{% trans "Editor" %}</h2>
28 <p><a href="{% url wiki_img_editor object.slug %}">{% trans "Proceed to the editor." %}</a></p>
36 <h2>{% trans "Publication" %}</h2>
38 <p>{% trans "Last published" %}:
39 {% if object.last_published %}
40 {{ object.last_published }}
47 {% if user.is_authenticated %}
50 Angels in Ely Cathedral (http://www.flickr.com/photos/21804434@N02/4483220595/) /
51 mira66 (http://www.flickr.com/photos/21804434@N02/) /
52 CC BY 2.0 (http://creativecommons.org/licenses/by/2.0/)
54 <form method="POST" action="{% url catalogue_publish_image object.slug %}">{% csrf_token %}
55 <!--img src="{{ STATIC_URL }}img/angel-left.png" style="vertical-align: middle" /-->
56 <button id="publish-button" type="submit">
57 <span>{% trans "Publish" %}</span></button>
58 <!--img src="{{ STATIC_URL }}img/angel-right.png" style="vertical-align: middle" /-->
61 <a href="{% url login %}">{% trans "Log in to publish." %}</a>
64 <p>{% trans "This book can't be published yet, because:" %}</p>
65 <ul><li>{{ publishable_error }}</li></ul>
72 <h2>{% trans "Comments" %}</h2>
74 {% render_comment_list for object %}
75 {% with object.get_absolute_url as next %}
76 {% render_comment_form for object %}
80 {% endblock content %}