mirror of https://github.com/tootsuite/mastodon
Only show sensitive media disabled warning if there are statuses associated with the report
parent
2459190a5e
commit
ec2ce1a822
|
@ -29,7 +29,7 @@
|
|||
- if @report.comment.present?
|
||||
= render 'admin/reports/comment', report: @report
|
||||
|
||||
- if @report.account.local? && (@report.account.user.settings['web.expand_content_warnings'] || @report.account.user.settings['web.display_media'] == 'show_all')
|
||||
- if @report.account.local? && !@statuses.empty? && (@report.account.user.settings['web.expand_content_warnings'] || @report.account.user.settings['web.display_media'] == 'show_all')
|
||||
.flash-message.warning= t('admin.reports.sensitive_media_explanation')
|
||||
|
||||
%hr.spacer/
|
||||
|
|
Loading…
Reference in New Issue