summaryrefslogtreecommitdiff
path: root/app/views/abuse_report_mailer
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-18 11:58:24 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-18 11:58:24 +0200
commitdc170516edb4760d9dc8843830459fe8066dff42 (patch)
treedb5977dc0fd941d83d23f7a109adc7cafd32be12 /app/views/abuse_report_mailer
parent6ad683bf13f820283a23cf44e15b241b0f4d7d87 (diff)
downloadgitlab-ce-dc170516edb4760d9dc8843830459fe8066dff42.tar.gz
Add HTML abuse report notification email.
Diffstat (limited to 'app/views/abuse_report_mailer')
-rw-r--r--app/views/abuse_report_mailer/notify.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/abuse_report_mailer/notify.html.haml b/app/views/abuse_report_mailer/notify.html.haml
new file mode 100644
index 00000000000..619533e09a7
--- /dev/null
+++ b/app/views/abuse_report_mailer/notify.html.haml
@@ -0,0 +1,11 @@
+%p
+ #{link_to @abuse_report.user.name, user_url(@abuse_report.user)}
+ (@#{@abuse_report.user.username}) was reported for abuse by
+ #{link_to @abuse_report.reporter.name, user_url(@abuse_report.reporter)}
+ (@#{@abuse_report.reporter.username}).
+
+%blockquote
+ = @abuse_report.message
+
+%p
+ = link_to "View details", abuse_reports_url