Basic changes, to display nicer names.
[redakcja.git] / apps / wiki / templates / wiki / tabs / summary_view.html
index 70ea2d9..c33baec 100644 (file)
@@ -1,4 +1,5 @@
 {% load i18n %}
+{% load wiki %}
 <div id="summary-view-editor" class="editor" style="display: none">
     <!-- <div class="toolbar">
     </div> -->
@@ -8,18 +9,18 @@
                <h2>
                        <label for="title">{% trans "Title" %}:</label>
                        <span data-ui-editable="true" data-edit-target="meta.displayTitle"
-                       >{{ document_meta.title }}</span>
+                       >{{ document.name|wiki_title }}</span>
                </h2>
                <p>
                        <label>{% trans "Document ID" %}:</label>
-                       <span>{{ document.name|urlencode }}</span>
+                       <span>{{ document.name }}</span>
                </p>
                <p>
                        <label>{% trans "Current version" %}:</label>
-                       {{ document_info.revision }} ({{document_info.last_update}})
+                       {{ document_info.revision }} ({{document_info.date}})
                <p>
                        <label>{% trans "Last edited by" %}:</label>
-                       {{document_info.last_comitter}}
+                       {{document_info.author}}
                </p>
                <p>
                        <label for="gallery">{% trans "Link to gallery" %}:</label>
@@ -29,4 +30,4 @@
 
                <p><button type="button" id="publish_button">{% trans "Publish" %}</button></p>
        </div>
-</div>
\ No newline at end of file
+</div>