d590f328b6754a12c91badad8d74efcc7454d235
[redakcja.git] / src / wiki / templates / wiki / tabs / history_view.html
1 {% load i18n %}
2 <div id="history-view-editor" class="editor" style="display: none">
3   <div class="toolbar navbar navbar-dark bg-secondary">
4     <div class="nav">
5       <button type="button" id="make-diff-button" class="btn btn-info mr-2"
6               data-enabled-when="2" disabled="disabled">{% trans "Compare versions" %}</button>
7       {% if can_pubmark %}
8         <button type="button" id="pubmark-changeset-button" class="btn btn-info mr-2"
9                 data-enabled-when="1" disabled="disabled">{% trans "Mark for publishing" %}</button>
10       {% endif %}
11       <button type="button" id="doc-revert-button" class="btn btn-info mr-2"
12               data-enabled-when="1" disabled="disabled">{% trans "Revert document" %}</button>
13       <button id="open-preview-button" disabled="disabled" class="btn btn-info mr-2"
14               data-enabled-when="1"
15               data-basehref="{% url 'wiki_editor_readonly' chunk.book.slug chunk.slug %}">{% trans "View version" %}</button>
16
17     </div>
18   </div>
19     <div id="history-view">
20         <p class="message-box" style="display:none;"></p>
21
22                 <table id="changes-list-container">
23         <tbody id="changes-list">
24         </tbody>
25                 <tbody style="display: none;">
26                         <tr class="entry row-stub">
27                         <td data-stub-value="version"></td>
28                         <td>
29                 <span data-stub-value="date"></span>
30                 <br/><span data-stub-value="author"></span>
31                                 <br />
32                                 <span data-stub-value="description"></span>
33                         </td>
34                         <td>
35                 <div data-stub-value="publishable"></div>
36                 <div data-stub-value="published"></div>
37                 <div data-stub-value="tag"></div>
38                         </td>
39                 </tr>
40                 </tbody>
41                 </table>
42     </div>
43 </div>