Standardize ip address visibility; fixes #1203

This commit is contained in:
Toks
2013-07-11 21:05:56 -04:00
parent f4c5126b11
commit 88afa23223
3 changed files with 12 additions and 4 deletions

View File

@@ -7,7 +7,7 @@
<th width="10%">User</th>
<th width="5%">Rating</th>
<th width="5%">Parent</th>
<% if CurrentUser.is_admin? %>
<% if CurrentUser.is_janitor? %>
<th width="10%">IP Address</th>
<% end %>
<th>Tags</th>
@@ -28,7 +28,7 @@
</td>
<td><%= post_version.rating %></td>
<td><%= post_version.parent_id %></td>
<% if CurrentUser.is_admin? %>
<% if CurrentUser.is_janitor? %>
<td>
<%= post_version.updater_ip_addr %>
</td>