ade3097f5d5abf4fdd9cb00b2922610cd293b325
[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         <div class="summary-cover-area">
7                 <p><img id="summary-cover" class="book-cover"
8                         src="{% url cover_preview chunk.book.slug chunk.slug chunk.revision %}"></p>
9                 <p><button id="summary-cover-refresh">{% trans "Refresh from working copy" %}</button></p>
10                 </div>
11
12                 <h2>
13                         <label for="title">{% trans "Title" %}:</label>
14                         <span data-ui-editable="true" data-edit-target="meta.displayTitle"
15                         >{{ chunk.pretty_name }}</span>
16                 </h2>
17         <p><a href="{{ chunk.book.get_absolute_url }}">{% trans "Go to the book's page" %}</a>
18         </p>
19                 <p>
20                         <label>{% trans "Document ID" %}:</label>
21                         <span>{{ chunk.book.slug }}/{{ chunk.slug }}</span>
22                 </p>
23                 <p>
24                         <label>{% trans "Current version" %}:</label>
25                         {{ chunk.revision }} ({{ chunk.head.created_at }})
26                 <p>
27                         <label>{% trans "Last edited by" %}:</label>
28                         {{ chunk.head.author }}
29                 </p>
30                 <p>
31                         <label for="gallery">{% trans "Link to gallery" %}:</label>
32                         <span data-ui-editable="true" data-edit-target="meta.galleryLink"
33                         >{{ chunk.book.gallery }}</span>
34                 </p>
35                 <p>
36                     <label>{% trans "Characters in document" %}:</label>
37                     <span id="charcount"></span> (<span id="charcount_pages"></span> {% trans "pages" %}<span id="charcount_untagged">, {% trans "untagged" %}</span>)
38                 </p>
39         </div>
40 </div>