2 <div id="history-view-editor" class="editor" style="display: none">
3 <div class="toolbar navbar navbar-dark bg-secondary">
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>
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>
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"
15 data-basehref="{% url 'wiki_editor_readonly' chunk.book.slug chunk.slug %}">{% trans "View version" %}</button>
19 <div id="history-view">
20 <table id="changes-list-container">
21 <tbody id="changes-list">
23 <tbody style="display: none;">
24 <tr class="entry row-stub">
25 <td data-stub-value="version"></td>
27 <span data-stub-value="date"></span>
28 <br/><span data-stub-value="author"></span>
30 <span data-stub-value="description"></span>
33 <div data-stub-value="publishable"></div>
34 <div data-stub-value="published"></div>
35 <div data-stub-value="tag"></div>
40 <p class="message-box" style="display:none;"></p>