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"
8 {% if revision %}src="{% url cover_preview chunk.book.slug chunk.slug revision %}"{% endif %}></p>
9 <p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
13 <label for="title">{% trans "Title" %}:</label>
14 <span data-ui-editable="true" data-edit-target="meta.displayTitle"
15 >{{ chunk.pretty_name }}</span>
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 "Current version" %}:</label>
25 {{ chunk.revision }} ({{ chunk.head.created_at }})
27 <label>{% trans "Last edited by" %}:</label>
28 {{ chunk.head.author }}
31 <label for="gallery">{% trans "Link to gallery" %}:</label>
32 <span data-ui-editable="true" data-edit-target="meta.galleryLink"
33 >{{ chunk.book.gallery }}</span>
36 <label>{% trans "Characters in document" %}:</label>
37 <span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}<span id="charcount_untagged">, {% trans "untagged" %}</span>)