From ad006de821f72e75480701298d13f0945b509059 Mon Sep 17 00:00:00 2001 From: Claire Date: Tue, 10 May 2022 11:13:06 +0200 Subject: [PATCH] Make it clear what actions solve other reports --- app/views/admin/reports/_actions.html.haml | 4 ++++ config/locales/en.yml | 1 + 2 files changed, 5 insertions(+) diff --git a/app/views/admin/reports/_actions.html.haml b/app/views/admin/reports/_actions.html.haml index 404d53a7736a5e..f88123d017e7e9 100644 --- a/app/views/admin/reports/_actions.html.haml +++ b/app/views/admin/reports/_actions.html.haml @@ -21,11 +21,15 @@ = button_tag t('admin.accounts.silence'), name: :silence, class: 'button button--destructive' .report-actions__item__description = t('admin.reports.actions.silence_description_html') + %br/ + = t('admin.reports.action_closes_reports_html') .report-actions__item .report-actions__item__button = button_tag t('admin.accounts.suspend'), name: :suspend, class: 'button button--destructive' .report-actions__item__description = t('admin.reports.actions.suspend_description_html') + %br/ + = t('admin.reports.action_closes_reports_html') .report-actions__item .report-actions__item__button = link_to t('admin.accounts.custom'), new_admin_account_action_path(@report.target_account_id, report_id: @report.id), class: 'button' diff --git a/config/locales/en.yml b/config/locales/en.yml index 50e762db72256b..fa36494c894ffd 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -594,6 +594,7 @@ en: notes: one: "%{count} note" other: "%{count} notes" + action_closes_reports_html: This action will also close all other reports against this user. action_log: Audit log action_taken_by: Action taken by actions: