From 85d1f18ba5ffc939ed052ff3231986dadec9865b Mon Sep 17 00:00:00 2001 From: evazion Date: Sun, 19 Mar 2017 23:40:21 -0500 Subject: [PATCH] comments: make commenter ip addresses visible to mods. --- app/views/comments/partials/show/_comment.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/comments/partials/show/_comment.html.erb b/app/views/comments/partials/show/_comment.html.erb index 501a6a8a6..b240e144d 100644 --- a/app/views/comments/partials/show/_comment.html.erb +++ b/app/views/comments/partials/show/_comment.html.erb @@ -36,6 +36,13 @@ + <% if CurrentUser.is_moderator? %> +
  • |
  • +
  • + IP + <%= link_to_ip comment.ip_addr %> +
  • + <% end %> <% end %> <% if comment.editable_by?(CurrentUser.user) %>