Skip to content

Commit

Permalink
Make it clear what actions solve other reports
Browse files Browse the repository at this point in the history
  • Loading branch information
ClearlyClaire committed May 10, 2022
1 parent 8fa6887 commit ad006de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/views/admin/reports/_actions.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ad006de

Please sign in to comment.