Show remote reports in admin UI as coming from domain rather than user (#7347)

Fix #6994
This commit is contained in:
Eugen Rochko
2018-05-04 13:26:25 +02:00
committed by GitHub
parent a78b27c7cc
commit 251bbf9728
4 changed files with 12 additions and 5 deletions

View File

@ -4,7 +4,10 @@
%td.target
= admin_account_link_to report.target_account
%td.reporter
= admin_account_link_to report.account
- if report.account.local?
= admin_account_link_to report.account
- else
= report.account.domain
%td
%div{ title: report.comment }
= truncate(report.comment, length: 30, separator: ' ')