fixes #2477: Better way to notify when messages get filtered
This commit is contained in:
@@ -22,9 +22,21 @@
|
||||
<% @dmails.each do |dmail| %>
|
||||
<tr class="read-<%= dmail.is_read? %>">
|
||||
<td><%= compact_time(dmail.created_at) %></td>
|
||||
<td><%= link_to_user dmail.from %></td>
|
||||
<td>
|
||||
<% if dmail.filtered? %>
|
||||
<%= link_to "[filtered]", user_path(dmail.from) %>
|
||||
<% else %>
|
||||
<%= link_to_user dmail.from %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td><%= link_to_user dmail.to %></td>
|
||||
<td><%= link_to dmail.title, dmail_path(dmail) %></td>
|
||||
<td>
|
||||
<% if dmail.filtered? %>
|
||||
<%= link_to "[filtered]", dmail_path(dmail) %>
|
||||
<% else %>
|
||||
<%= link_to dmail.title, dmail_path(dmail) %>
|
||||
<% end %>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to "delete", dmail_path(dmail), :method => :delete, :data => {:confirm => "Are you sure you want to delete this Dmail?"} %>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user