diff --git a/app/views/note_versions/index.html.erb b/app/views/note_versions/index.html.erb index 70e36390d..c5563541f 100644 --- a/app/views/note_versions/index.html.erb +++ b/app/views/note_versions/index.html.erb @@ -9,7 +9,9 @@ Post Note Body - IP Address + <% if CurrentUser.is_janitor? %> + IP Address + <% end %> Edited By Date Options @@ -22,11 +24,11 @@ <%= link_to note_version.post_id, post_path(note_version.post_id) %> <%= link_to "#{note_version.note_id}.#{note_version.id}", note_versions_path(:search => {:note_id => note_version.note_id}) %> <%= h(note_version.body) %> <% unless note_version.is_active? %>(deleted)<% end %> - - <% if CurrentUser.is_janitor? %> + <% if CurrentUser.is_janitor? %> + <%= note_version.updater_ip_addr %> - <% end %> - + + <% end %> <%= link_to note_version.updater.try(:name), user_path(note_version.updater) %> <%= compact_time note_version.updated_at %>