akismet integration

This commit is contained in:
r888888888
2017-09-14 13:19:16 -07:00
parent d12f082f9a
commit b944b642b8
14 changed files with 90 additions and 3 deletions

View File

@@ -29,6 +29,13 @@
| <%= link_to "Forward", new_dmail_path(:respond_to_id => @dmail, :forward => true) %>
| <%= link_to "Filter messages like these", edit_maintenance_user_dmail_filter_path(:dmail_id => @dmail.id) %>
| <%= link_to "Permalink", dmail_path(@dmail, :key => @dmail.key), :title => "Use this URL to privately share with a moderator" %>
<% if CurrentUser.is_gold? %>
<% if @dmail.is_spam? %>
| <%= link_to "Not spam", ham_dmail_path(@dmail) %>
<% else %>
| <%= link_to "Mark as spam", spam_dmail_path(@dmail) %>
<% end %>
<% end %>
</p>
</div>
</div>