7d61f99382f697cd7541598cbe5c4594bf561f9d
[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="tag-changeset-button"
7                         data-enabled-when="1" disabled="disabled">{% trans "Mark version" %}</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 book.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="description"></span>
26                                 <br />
27                 <span data-stub-value="author"></span>, <span data-stub-value="date"></span>
28                         </td>
29                         <td data-stub-value="tag">
30                         </td>
31                 </tr>
32                 </tbody>
33                 </table>
34     </div>
35 </div>