Librarian in regular requirements.
[redakcja.git] / apps / wiki / templates / wiki / tabs / summary_view.html
index 9a2c742..49ad5fe 100644 (file)
@@ -6,15 +6,15 @@
        <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>
 
                <h2>
-                       <label for="title">{% trans "Title" %}:</label>
+                       <label>{% trans "Title" %}:</label>
                        <span data-ui-editable="true" data-edit-target="meta.displayTitle"
                        >{{ chunk.pretty_name }}</span>
                </h2>
                <p>
                        <label>{% trans "Current version" %}:</label>
                        {{ chunk.revision }} ({{ chunk.head.created_at }})
+               </p>
                <p>
                        <label>{% trans "Last edited by" %}:</label>
                        {{ chunk.head.author }}
                </p>
                <p>
-                       <label for="gallery">{% trans "Link to gallery" %}:</label>
+                       <label>{% trans "Link to gallery" %}:</label>
                        <span data-ui-editable="true" data-edit-target="meta.galleryLink"
                        >{{ chunk.book.gallery }}</span>
                </p>