mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Display only domain of report account if remote under comment (#7574)
This commit is contained in:
parent
46061dc041
commit
40ef46dbef
@ -75,7 +75,11 @@
|
|||||||
.speech-bubble
|
.speech-bubble
|
||||||
.speech-bubble__bubble= simple_format(@report.comment.presence || t('admin.reports.comment.none'))
|
.speech-bubble__bubble= simple_format(@report.comment.presence || t('admin.reports.comment.none'))
|
||||||
.speech-bubble__owner
|
.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 }
|
%time.formatted{ datetime: @report.created_at.iso8601 }
|
||||||
|
|
||||||
- unless @report.statuses.empty?
|
- unless @report.statuses.empty?
|
||||||
|
Loading…
Reference in New Issue
Block a user