fixes #1139, fix other history page inconsistencies
This commit is contained in:
@@ -10,8 +10,10 @@
|
||||
<% if CurrentUser.is_admin? %>
|
||||
<th width="10%">IP Address</th>
|
||||
<% end %>
|
||||
<th width="45%">Tags</th>
|
||||
<th width="5%"></th>
|
||||
<th>Tags</th>
|
||||
<% if CurrentUser.is_member? %>
|
||||
<th width="5%"></th>
|
||||
<% end %>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -32,9 +34,11 @@
|
||||
</td>
|
||||
<% end %>
|
||||
<td><%= post_version_diff(post_version) %></td>
|
||||
<td>
|
||||
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
|
||||
</td>
|
||||
<% if CurrentUser.is_member? %>
|
||||
<td>
|
||||
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
|
||||
</td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<% end %>
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user