Merge branch 'master' into ofop
[redakcja.git] / apps / wiki / templates / wiki / tabs / summary_view.html
index 9a2c742..8a57769 100644 (file)
@@ -6,9 +6,9 @@
        <div class="summary-cover-area">
                <p><img id="summary-cover" class="book-cover"
                        {% if revision %}
-                            src="{% url cover_preview chunk.book.slug chunk.slug revision %}"
+                            src="{% url 'cover_preview' chunk.book.slug chunk.slug revision %}"
                        {% else %}
-                            src="{% url cover_preview chunk.book.slug chunk.slug %}"
+                            src="{% url 'cover_preview' chunk.book.slug chunk.slug %}"
                        {% endif %}></p>
                <p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
                </div>