<!-- <div class="toolbar">
</div> -->
<div id="summary-view">
- <img class="book-cover" src="{{ STATIC_URL }}img/sample_cover.png">
+ <div class="summary-cover-area">
+ <p><img id="summary-cover" class="book-cover"
+ src="{% url cover_preview chunk.book.slug chunk.slug chunk.revision %}"></p>
+ <p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
+ </div>
<h2>
<label for="title">{% trans "Title" %}:</label>
<span data-ui-editable="true" data-edit-target="meta.displayTitle"
>{{ chunk.pretty_name }}</span>
</h2>
+ <p><a href="{{ chunk.book.get_absolute_url }}">{% trans "Go to the book's page" %}</a>
+ </p>
<p>
<label>{% trans "Document ID" %}:</label>
<span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
<label>{% trans "Characters in document" %}:</label>
<span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}<span id="charcount_untagged">, {% trans "untagged" %}</span>)
</p>
-
- <p><button type="button" id="publish_button">{% trans "Publish" %}</button></p>
</div>
</div>