2 <div id="history-view-editor" class="editor" style="display: none">
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"
12 data-basehref="{% url wiki_editor_readonly chunk.book.slug chunk.slug %}">{% trans "View version" %}</button>
15 <div id="history-view">
16 <p class="message-box" style="display:none;"></p>
18 <table id="changes-list-container">
19 <tbody id="changes-list">
21 <tbody style="display: none;">
22 <tr class="entry row-stub">
23 <td data-stub-value="version"></td>
25 <span data-stub-value="date"></span>
26 <br/><span data-stub-value="author"></span>
28 <span data-stub-value="description"></span>
31 <div data-stub-value="publishable"></div>
32 <div data-stub-value="tag"></div>