summaryrefslogtreecommitdiff
path: root/app/views/revisions
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/revisions')
-rw-r--r--app/views/revisions/index.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/revisions/index.html.erb b/app/views/revisions/index.html.erb
index 3fb33b90..09eac565 100644
--- a/app/views/revisions/index.html.erb
+++ b/app/views/revisions/index.html.erb
@@ -18,7 +18,7 @@
18 </p> 18 </p>
19<% end %> 19<% end %>
20 20
21<table id="revisions" class="revisions_table"> 21<table id="revisions" class="admin_table revisions_table">
22 <thead> 22 <thead>
23 <tr class="header"> 23 <tr class="header">
24 <th><%= t(".first") %></th> 24 <th><%= t(".first") %></th>
@@ -30,7 +30,7 @@
30 <th></th> 30 <th></th>
31 <th></th> 31 <th></th>
32 </tr> 32 </tr>
33 <tr class="no_hover diff_sticky_bar"> 33 <tr class="diff_sticky_bar">
34 <td colspan="8"> 34 <td colspan="8">
35 <%= button_to t(".diff_revisions"), diff_node_revisions_path(@node), 35 <%= button_to t(".diff_revisions"), diff_node_revisions_path(@node),
36 method: :post, 36 method: :post,
@@ -64,7 +64,7 @@
64 </tbody> 64 </tbody>
65</table> 65</table>
66 66
67<script> 67<%= javascript_tag nonce: true do %>
68 function update_diff_button_state() { 68 function update_diff_button_state() {
69 var start = document.querySelector('input[name="start_revision"]:checked'); 69 var start = document.querySelector('input[name="start_revision"]:checked');
70 var end = document.querySelector('input[name="end_revision"]:checked'); 70 var end = document.querySelector('input[name="end_revision"]:checked');
@@ -106,4 +106,4 @@
106 this.appendChild(v); 106 this.appendChild(v);
107 } 107 }
108 }); 108 });
109</script> 109<% end %>