diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-05-21 17:33:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 17:33:20 +0200 |
commit | 40ef46dbeff676827d1ba3483f9f6f72b17bca89 (patch) | |
tree | d005c0a9041b31805ff38af82ff28b0fc18790bc /app/views/admin/reports | |
parent | 46061dc041b0a2a4a3907976cc3432abdb1d67ec (diff) |
Display only domain of report account if remote under comment (#7574)
Diffstat (limited to 'app/views/admin/reports')
-rw-r--r-- | app/views/admin/reports/show.html.haml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/admin/reports/show.html.haml b/app/views/admin/reports/show.html.haml index c9ebc0415..b13bb5303 100644 --- a/app/views/admin/reports/show.html.haml +++ b/app/views/admin/reports/show.html.haml @@ -75,7 +75,11 @@ .speech-bubble .speech-bubble__bubble= simple_format(@report.comment.presence || t('admin.reports.comment.none')) .speech-bubble__owner - = admin_account_link_to @report.account + - if @report.account.local? + = admin_account_link_to @report.account + - else + = @report.account.domain + %br/ %time.formatted{ datetime: @report.created_at.iso8601 } - unless @report.statuses.empty? |