fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 3 Feb 2012 15:22:52 +0000 (16:22 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 3 Feb 2012 15:22:52 +0000 (16:22 +0100)
apps/wiki/templates/wiki/tabs/summary_view.html

index 96191fd..3eff0fb 100644 (file)
@@ -3,13 +3,11 @@
     <!-- <div class="toolbar">
     </div> -->
     <div id="summary-view">
     <!-- <div class="toolbar">
     </div> -->
     <div id="summary-view">
-       {% if revision %}
        <div class="summary-cover-area">
                <p><img id="summary-cover" class="book-cover"
        <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 %}"}{% endif %}></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>
                <p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
                </div>
-       {% endif %}
 
                <h2>
                        <label for="title">{% trans "Title" %}:</label>
 
                <h2>
                        <label for="title">{% trans "Title" %}:</label>