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