fixes #352
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
<th width="10%">User</th>
|
<th width="10%">User</th>
|
||||||
<th width="5%">Rating</th>
|
<th width="5%">Rating</th>
|
||||||
<th width="5%">Parent</th>
|
<th width="5%">Parent</th>
|
||||||
<th width="10%">IP Address</th>
|
<% if CurrentUser.is_admin? %>
|
||||||
|
<th width="10%">IP Address</th>
|
||||||
|
<% end %>
|
||||||
<th width="45%">Tags</th>
|
<th width="45%">Tags</th>
|
||||||
<th width="5%"></th>
|
<th width="5%"></th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -24,11 +26,11 @@
|
|||||||
</td>
|
</td>
|
||||||
<td><%= post_version.rating %></td>
|
<td><%= post_version.rating %></td>
|
||||||
<td><%= post_version.parent_id %></td>
|
<td><%= post_version.parent_id %></td>
|
||||||
<td>
|
<% if CurrentUser.is_admin? %>
|
||||||
<% if CurrentUser.is_admin? %>
|
<td>
|
||||||
<%= post_version.updater_ip_addr %>
|
<%= post_version.updater_ip_addr %>
|
||||||
<% end %>
|
</td>
|
||||||
</td>
|
<% end %>
|
||||||
<td><%= post_version_diff(post_version) %></td>
|
<td><%= post_version_diff(post_version) %></td>
|
||||||
<td>
|
<td>
|
||||||
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
|
<%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>
|
||||||
|
|||||||
Reference in New Issue
Block a user