Add HTML abuse report notification email.

This commit is contained in:
Douwe Maan 2015-10-18 11:58:24 +02:00
parent 6ad683bf13
commit dc170516ed
1 changed files with 11 additions and 0 deletions

View 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