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="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"
12 data-basehref="{% url wiki_editor_readonly book.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="description"></span>
27 <span data-stub-value="author"></span>, <span data-stub-value="date"></span>
29 <td data-stub-value="tag">