Show remote reports in admin UI as coming from domain rather than user (#7347)
Fix #6994
This commit is contained in:
parent
a78b27c7cc
commit
251bbf9728
4 changed files with 12 additions and 5 deletions
|
@ -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: ' ')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue