From f1e6a5353dde01bd102c33a177d9964560dbbf17 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 24 Jan 2013 17:28:41 -0500 Subject: [PATCH] fixes #352 --- app/views/post_versions/_listing.html.erb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/views/post_versions/_listing.html.erb b/app/views/post_versions/_listing.html.erb index 538c659e8..eff401767 100644 --- a/app/views/post_versions/_listing.html.erb +++ b/app/views/post_versions/_listing.html.erb @@ -7,7 +7,9 @@ User Rating Parent - IP Address + <% if CurrentUser.is_admin? %> + IP Address + <% end %> Tags @@ -24,11 +26,11 @@ <%= post_version.rating %> <%= post_version.parent_id %> - - <% if CurrentUser.is_admin? %> + <% if CurrentUser.is_admin? %> + <%= post_version.updater_ip_addr %> - <% end %> - + + <% end %> <%= post_version_diff(post_version) %> <%= link_to "Revert", revert_post_path(post_version.post_id, :version_id => post_version.id), :method => :put, :remote => true %>