53e6cdf86f2b4aa911774f0a8024deac6d0d666f
[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                         >{{ chunk.pretty_name }}</span>
12                 </h2>
13                 <p>
14                         <label>{% trans "Document ID" %}:</label>
15                         <span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
16                 </p>
17                 <p>
18                         <label>{% trans "Current version" %}:</label>
19                         {{ chunk.revision }} ({{ chunk.head.created_at }})
20                 <p>
21                         <label>{% trans "Last edited by" %}:</label>
22                         {{ chunk.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                         >{{ chunk.book.gallery }}</span>
28                 </p>
29                 <p>
30                     <label>{% trans "Characters in document" %}:</label>
31                     <span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}<span id="charcount_untagged">, {% trans "untagged" %}</span>)
32                 </p>
33
34                 <p><button type="button" id="publish_button">{% trans "Publish" %}</button></p>
35         </div>
36 </div>