2 <div id="summary-view-editor" class="editor" style="display: none">
3 <!-- <div class="toolbar">
5 <div id="summary-view">
6 <div class="summary-cover-area">
7 <p><img id="summary-cover" class="book-cover"
9 src="{% url 'cover_preview' chunk.book.slug chunk.slug revision %}"
11 src="{% url 'cover_preview' chunk.book.slug chunk.slug %}"
13 <p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
17 <label>{% trans "Title" %}:</label>
18 <span data-ui-editable="true" data-edit-target="meta.displayTitle"
19 >{{ chunk.pretty_name }}</span>
21 <p><a href="{{ chunk.book.get_absolute_url }}">{% trans "Go to the book's page" %}</a>
24 <label>{% trans "Document ID" %}:</label>
25 <span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
28 <label>{% trans "Current version" %}:</label>
29 {{ chunk.revision }} ({{ chunk.head.created_at }})
32 <label>{% trans "Last edited by" %}:</label>
33 {{ chunk.head.author }}
36 <label>{% trans "Link to gallery" %}:</label>
37 <span data-ui-editable="true" data-edit-target="meta.galleryLink"
38 >{{ chunk.book.gallery }}</span>
41 <label>{% trans "Characters in document" %}:</label>
42 <span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}<span id="charcount_untagged">, {% trans "untagged" %}</span>)