This commit is contained in:
albert
2013-01-24 17:28:41 -05:00
parent 2f9db2399c
commit f1e6a5353d

View File

@@ -7,7 +7,9 @@
<th width="10%">User</th>
<th width="5%">Rating</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="5%"></th>
</tr>
@@ -24,11 +26,11 @@
</td>
<td><%= post_version.rating %></td>
<td><%= post_version.parent_id %></td>
<td>
<% if CurrentUser.is_admin? %>
<% if CurrentUser.is_admin? %>
<td>
<%= post_version.updater_ip_addr %>
<% end %>
</td>
</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 %>