<!-- <div class="toolbar">
</div> -->
<div id="summary-view">
+ {% if revision %}
<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>
+ {% if revision }src="{% url cover_preview chunk.book.slug chunk.slug revision %}"}{% endif %}></p>
<p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
</div>
+ {% endif %}
<h2>
<label for="title">{% trans "Title" %}:</label>