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 <label>{% trans "Title" %}:</label>
16 <span data-ui-editable="true" data-edit-target="meta.displayTitle"
17 >{{ chunk.pretty_name }}</span>
19 <p><a href="{{ chunk.book.get_absolute_url }}">{% trans "Go to the book's page" %}</a>
22 <label>{% trans "Document ID" %}:</label>
23 <span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
26 <label>{% trans "Current version" %}:</label>
27 {{ chunk.revision }} ({{ chunk.head.created_at }})
30 <label>{% trans "Last edited by" %}:</label>
31 {{ chunk.head.author }}
34 <label>{% trans "Link to gallery" %}:</label>
35 <span data-ui-editable="true" data-edit-target="meta.galleryLink"
36 >{{ chunk.book.gallery }}</span>
39 <label>{% trans "Characters in document" %}:</label>
40 <span id="charcounts_text">
41 <br><span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}, {% trans "without footnotes and themes" %})
42 <br><span id="charcount_full"></span> (<span id="charcount_full_pages"></span> {% trans "pages" %}, {% trans "with footnotes and themes" %})
44 <span id="charcounts_raw">
45 <br><span id="charcount_raw"></span> (<span id="charcount_raw_pages"></span> {% trans "pages" %}, {% trans "untagged" %})