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 for="title">{% 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 }})
31 <label>{% trans "Last edited by" %}:</label>
32 {{ chunk.head.author }}
35 <label for="gallery">{% trans "Link to gallery" %}:</label>
36 <span data-ui-editable="true" data-edit-target="meta.galleryLink"
37 >{{ chunk.book.gallery }}</span>
40 <label>{% trans "Characters in document" %}:</label>
41 <span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}<span id="charcount_untagged">, {% trans "untagged" %}</span>)