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