Add HTML abuse report notification email.
This commit is contained in:
parent
6ad683bf13
commit
dc170516ed
1 changed files with 11 additions and 0 deletions
11
app/views/abuse_report_mailer/notify.html.haml
Normal file
11
app/views/abuse_report_mailer/notify.html.haml
Normal file
|
@ -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
|
Loading…
Reference in a new issue