From 88afa2322311504fa69e98b757814291c996f4e1 Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 11 Jul 2013 21:05:56 -0400 Subject: [PATCH] Standardize ip address visibility; fixes #1203 --- app/views/artist_versions/index.html.erb | 8 ++++++++ app/views/post_versions/_listing.html.erb | 4 ++-- app/views/wiki_page_versions/index.html.erb | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/app/views/artist_versions/index.html.erb b/app/views/artist_versions/index.html.erb index ad319c9cc..c59b0120f 100644 --- a/app/views/artist_versions/index.html.erb +++ b/app/views/artist_versions/index.html.erb @@ -11,6 +11,9 @@ Group Updated Updated by + <% if CurrentUser.is_janitor? %> + IP Address + <% end %> Active URLs <% if CurrentUser.is_member? %> @@ -28,6 +31,11 @@ <%= artist_version.group_name %> <%= compact_time artist_version.created_at %> <%= link_to_user artist_version.updater %> + <% if CurrentUser.is_janitor? %> + + <%= artist_version.updater_ip_addr %> + + <% end %> <%= artist_version.is_active? %>