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