mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:35:40 +01:00
Add warning in reports if the local reporting user has disabled hiding of sensitive media
Fixes #29291
This commit is contained in:
parent
2d589a5ed4
commit
2459190a5e
2 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,9 @@
|
|||
- 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')
|
||||
.flash-message.warning= t('admin.reports.sensitive_media_explanation')
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
%h3
|
||||
|
|
|
@ -645,6 +645,7 @@ en:
|
|||
reported_with_application: Reported with application
|
||||
resolved: Resolved
|
||||
resolved_msg: Report successfully resolved!
|
||||
sensitive_media_explanation: The reporting user has content warnings disabled or has chosen to always shows media, even if it contains sensitive content.
|
||||
skip_to_actions: Skip to actions
|
||||
status: Status
|
||||
statuses: Reported content
|
||||
|
|
Loading…
Reference in a new issue