1 {% extends "base.html" %}
2 {% load toolbar_tags i18n %}
4 {% block titleextra %}{{ chunk.pretty_title }}{% endblock %}
7 {% stylesheet 'detail' %}
11 <script type="text/javascript">
12 var STATIC_URL = '{{STATIC_URL}}';
14 {% javascript 'detail' %}
17 {% block maincontent %}
18 <div id="document-meta"
19 data-chunk-id="{{ chunk.pk }}" style="display:none">
21 <span data-key="gallery">{{ chunk.book.gallery }}</span>
22 <span data-key="gallery-start">{% if chunk.gallery_start %}{{ chunk.gallery_start }}{% endif %}</span>
23 <span data-key="revision">{{ revision }}</span>
24 <span data-key="diff">{{ request.GET.diff }}</span>
26 {% block meta-extra %} {% endblock %}
30 <h1><a href="{% url 'catalogue_document_list' %}"><img src="{{STATIC_URL}}icons/go-home.png" alt="Home" /></a><a href="{% url 'catalogue_document_list' %}">Strona<br>główna</a></h1>
32 <a href="{{ REDMINE_URL }}projects/wl-publikacje/wiki/Pomoc" target="_blank">
33 {% trans "Help" %}</a>
34 | {% include "registration/head_login.html" %}
35 | {% trans "Version" %}: <span id="document-revision">{% trans "Unknown" %}</span>
37 | <button style="margin-left: 6px" id="save-button">{% trans "Save" %}</button>
38 <span id='save-attempt-info'>{% trans "Save attempt in progress" %}</span>
39 <span id='out-of-date-info'>{% trans "There is a newer version of this document!" %}</span>
42 <ol id="tabs" class="tabs">
43 {% block tabs-menu %} {% endblock %}
45 <ol id="tabs-right" class="tabs">
46 {% block tabs-right %} {% endblock %}
50 <div id="editor" class="{% block editor-class %} {% endblock %}">
51 {% block tabs-content %} {% endblock %}
53 {% block splitter-extra %} {% endblock %}
56 {% block dialogs %} {% endblock %}