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? %> |
diff --git a/app/views/post_versions/_listing.html.erb b/app/views/post_versions/_listing.html.erb
index a146a7d41..c6b2099ae 100644
--- a/app/views/post_versions/_listing.html.erb
+++ b/app/views/post_versions/_listing.html.erb
@@ -7,7 +7,7 @@
| User |
Rating |
Parent |
- <% if CurrentUser.is_admin? %>
+ <% if CurrentUser.is_janitor? %>
IP Address |
<% end %>
Tags |
@@ -28,7 +28,7 @@
|
<%= post_version.rating %> |
<%= post_version.parent_id %> |
- <% if CurrentUser.is_admin? %>
+ <% if CurrentUser.is_janitor? %>
<%= post_version.updater_ip_addr %>
|
diff --git a/app/views/wiki_page_versions/index.html.erb b/app/views/wiki_page_versions/index.html.erb
index ecdad2782..90a05af13 100644
--- a/app/views/wiki_page_versions/index.html.erb
+++ b/app/views/wiki_page_versions/index.html.erb
@@ -16,7 +16,7 @@
<% end %>
Title |
|
- <% if CurrentUser.is_admin? %>
+ <% if CurrentUser.is_janitor? %>
IP Address |
<% end %>
Last edited |
@@ -50,7 +50,7 @@
<% end %>
<%= link_to wiki_page_version.title, wiki_page_version_path(wiki_page_version) %> |
<%= link_to "wiki", wiki_page_path(wiki_page_version.wiki_page_id) %> |
- <% if CurrentUser.is_admin? %>
+ <% if CurrentUser.is_janitor? %>
<%= wiki_page_version.updater_ip_addr %>
|