Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-18 12:58:24 +0300
committerDouwe Maan <douwe@gitlab.com>2015-10-18 12:58:24 +0300
commitdc170516edb4760d9dc8843830459fe8066dff42 (patch)
treedb5977dc0fd941d83d23f7a109adc7cafd32be12 /app/views/abuse_report_mailer
parent6ad683bf13f820283a23cf44e15b241b0f4d7d87 (diff)
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