From 996933c23368aa60784a9db6ac0e99b3590cd0c6 Mon Sep 17 00:00:00 2001 From: Gaurav Sachdeva Date: Thu, 2 Aug 2018 02:05:05 +0530 Subject: [PATCH] links to mark spam (#3163) --- app/views/comment_mailer/notify.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/views/comment_mailer/notify.html.erb b/app/views/comment_mailer/notify.html.erb index ef383f58e0..0271b121a1 100644 --- a/app/views/comment_mailer/notify.html.erb +++ b/app/views/comment_mailer/notify.html.erb @@ -14,6 +14,13 @@ Hi! There's been a response to a discussion you're involved in. Do NOT reply to
+

Look like spam? + <% if @user.can_moderate? %> + Mark this as Spam + <% else %> + Flag this for moderators + <% end%> +

<% if @comment.parent.has_power_tag('question') %>