Add banner for forwarded reports made by remote users about remote content (#27549)
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
= t('admin.reports.resolved')
|
||||
- else
|
||||
= t('admin.reports.unresolved')
|
||||
- unless report.target_account.local?
|
||||
- if report.account.local? && !report.target_account.local?
|
||||
.report-header__details__item
|
||||
.report-header__details__item__header
|
||||
%strong= t('admin.reports.forwarded')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user