summaryrefslogtreecommitdiff
path: root/app/views/admin/abuse_reports
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-05-26 13:18:44 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2016-05-26 17:14:06 +0200
commit25c08d11bbf3a889501ebe295a1ab66a12a52d49 (patch)
tree1d7901f8fe620609bb3331ad786c190964b5c2fa /app/views/admin/abuse_reports
parent86166d28029d5fcc729f7b7f5a41635c2e783a9e (diff)
downloadgitlab-ce-25c08d11bbf3a889501ebe295a1ab66a12a52d49.tar.gz
Added author to various Markdown calls in views
This ensures all these calls have an author set, allowing the use of "all" mentions where possible.
Diffstat (limited to 'app/views/admin/abuse_reports')
-rw-r--r--app/views/admin/abuse_reports/_abuse_report.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/abuse_reports/_abuse_report.html.haml b/app/views/admin/abuse_reports/_abuse_report.html.haml
index 2ab01704b77..862b86d9d4a 100644
--- a/app/views/admin/abuse_reports/_abuse_report.html.haml
+++ b/app/views/admin/abuse_reports/_abuse_report.html.haml
@@ -16,7 +16,7 @@
.light.small
= time_ago_with_tooltip(abuse_report.created_at)
%td
- = markdown(abuse_report.message.squish!, pipeline: :single_line)
+ = markdown(abuse_report.message.squish!, pipeline: :single_line, author: reporter)
%td
- if user
= link_to 'Remove user & report', admin_abuse_report_path(abuse_report, remove_user: true),