use proper commit id
[redakcja.git] / apps / wiki / templates / wiki / tabs / summary_view.html
1 {% load i18n %}
2 {% load wiki %}
3 <div id="summary-view-editor" class="editor" style="display: none">
4     <!-- <div class="toolbar">
5     </div> -->
6     <div id="summary-view">
7                 <img class="book-cover" src="{{ STATIC_URL }}img/sample_cover.png">
8
9                 <h2>
10                         <label for="title">{% trans "Title" %}:</label>
11                         <span data-ui-editable="true" data-edit-target="meta.displayTitle"
12                         >{{ document.name|wiki_title }}</span>
13                 </h2>
14                 <p>
15                         <label>{% trans "Document ID" %}:</label>
16                         <span>{{ document.name }}</span>
17                 </p>
18                 <p>
19                         <label>{% trans "Current version" %}:</label>
20                         {{ document_info.revision }} ({{document_info.date}})
21                 <p>
22                         <label>{% trans "Last edited by" %}:</label>
23                         {{document_info.author}}
24                 </p>
25                 <p>
26                         <label for="gallery">{% trans "Link to gallery" %}:</label>
27                         <span data-ui-editable="true" data-edit-target="meta.galleryLink"
28                         >{{ document_meta.gallery}}</span>
29                 </p>
30
31                 <p><button type="button" id="publish_button">{% trans "Publish" %}</button></p>
32         </div>
33 </div>