Browse Source

Display only domain of report account if remote under comment (#7574)

master
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
40ef46dbef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      app/views/admin/reports/show.html.haml

+ 5
- 1
app/views/admin/reports/show.html.haml View File

@ -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?

Loading…
Cancel
Save