Add banner for forwarded reports made by remote users about remote content (#27549)

This commit is contained in:
Claire 2023-11-15 15:18:43 +01:00 committed by GitHub
commit bd575a1dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -7,6 +7,9 @@
- else
= link_to t('admin.reports.mark_as_unresolved'), reopen_admin_report_path(@report), method: :post, class: 'button'
- unless @report.account.local? || @report.target_account.local?
.flash-message= t('admin.reports.forwarded_replies_explanation')
.report-header
= render 'admin/reports/header_card', report: @report
= render 'admin/reports/header_details', report: @report