fix
[redakcja.git] / src / wiki / templates / wiki / tabs / summary_view.html
1 {% load i18n %}
2 <div id="summary-view-editor" class="editor" style="display: none">
3     <div id="summary-view">
4         <div class="summary-cover-area">
5                 <p><img id="summary-cover" class="book-cover"
6                         {% if revision %}
7                              src="{% url 'cover_preview' chunk.book.slug chunk.slug revision %}"
8                         {% else %}
9                              src="{% url 'cover_preview' chunk.book.slug chunk.slug %}"
10                         {% endif %}></p>
11                 <p><button class="btn btn-info" id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
12                 </div>
13
14                 <h2>
15                         {{ chunk.pretty_name }}
16                 </h2>
17         <p><a href="{{ chunk.book.get_absolute_url }}">{% trans "Go to the book's page" %}</a>
18         </p>
19                 <p>
20                         <label>{% trans "Document ID" %}:</label>
21                         <span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
22                 </p>
23                 <p>
24                     <label>{% trans "Characters in document" %}:</label>
25                     <span id="charcounts_text">
26                             <br><span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}, {% trans "without footnotes and themes" %})
27                             <br><span id="charcount_full"></span> (<span id="charcount_full_pages"></span> {% trans "pages" %}, {% trans "with footnotes and themes" %})
28                     </span>
29                     <span id="charcounts_raw">
30                             <br><span id="charcount_raw"></span> (<span id="charcount_raw_pages"></span> {% trans "pages" %}, {% trans "untagged" %})
31                     </span>
32                 </p>
33         </div>
34 </div>