include dmail ip addrs in search

This commit is contained in:
r888888888
2014-02-21 14:15:37 -08:00
parent 10516c9834
commit 3ba7daebd1
3 changed files with 6 additions and 0 deletions

View File

@@ -8,6 +8,9 @@
<li><strong>Sender</strong>: <%= link_to_user @dmail.from %></li>
<li><strong>Recipient</strong>: <%= link_to_user @dmail.to %></li>
<li><strong>Date</strong>: <%= compact_time(@dmail.created_at) %></li>
<% if CurrentUser.user.is_moderator? %>
<li><strong>Sender IP</strong>: <%= @dmail.creator_ip_addr %></li>
<% end %>
</ul>
<h3>Body</h3>