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"
7 src="{% url 'cover_preview' chunk.book.slug chunk.slug revision %}"
9 src="{% url 'cover_preview' chunk.book.slug chunk.slug %}"
11 <p><button class="btn btn-info" id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
15 {{ chunk.pretty_name }}
17 <p><a href="{{ chunk.book.get_absolute_url }}">{% trans "Go to the book's page" %}</a>
20 <label>{% trans "Document ID" %}:</label>
21 <span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
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" %})
29 <span id="charcounts_raw">
30 <br><span id="charcount_raw"></span> (<span id="charcount_raw_pages"></span> {% trans "pages" %}, {% trans "untagged" %})