summaryrefslogtreecommitdiff
path: root/app/views/abuse_report_mailer
diff options
context:
space:
mode:
authorJonathan Rochkind <jonathan@dnil.net>2015-10-08 11:13:28 -0400
committerJonathan Rochkind <jonathan@dnil.net>2015-10-08 17:33:57 -0400
commitae4fbae26cefbf10848719ee8c06d418c348420c (patch)
tree147370c32c20f1c78b0e078e442b4c7ba5bf1001 /app/views/abuse_report_mailer
parent0de7c83a78711601b40b5a739070da2e3af29b11 (diff)
downloadgitlab-ce-ae4fbae26cefbf10848719ee8c06d418c348420c.tar.gz
Send an email (to support) when a user is reported for spam
Diffstat (limited to 'app/views/abuse_report_mailer')
-rw-r--r--app/views/abuse_report_mailer/notify.text.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/abuse_report_mailer/notify.text.haml b/app/views/abuse_report_mailer/notify.text.haml
new file mode 100644
index 00000000000..70e4e6a3c6c
--- /dev/null
+++ b/app/views/abuse_report_mailer/notify.text.haml
@@ -0,0 +1,5 @@
+An abuse report was filed on `#{@abuse_report.user.username}` by `#{@abuse_report.reporter.username}`.
+\
+= @abuse_report.message
+\
+Abuse report admin screen: #{abuse_reports_url} \ No newline at end of file