Skip to content

Commit

Permalink
Display only domain of report account if remote under comment (mastod…
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargron authored May 21, 2018
1 parent 46061dc commit 40ef46d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/views/admin/reports/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 40ef46d

Please sign in to comment.