|
|
|
@ -40,10 +40,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
%p
|
|
|
|
%p
|
|
|
|
= t 'admin.reports.statuses_description_html'
|
|
|
|
= t 'admin.reports.statuses_description_html'
|
|
|
|
—
|
|
|
|
|
|
|
|
= link_to safe_join([material_symbol('add'), t('admin.reports.add_to_report')]),
|
|
|
|
|
|
|
|
admin_account_statuses_path(@report.target_account_id, report_id: @report.id),
|
|
|
|
|
|
|
|
class: 'table-action-link'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
= form_with model: @form, url: batch_admin_account_statuses_path(@report.target_account_id, report_id: @report.id) do |f|
|
|
|
|
= form_with model: @form, url: batch_admin_account_statuses_path(@report.target_account_id, report_id: @report.id) do |f|
|
|
|
|
.batch-table
|
|
|
|
.batch-table
|
|
|
|
@ -51,6 +47,9 @@
|
|
|
|
%label.batch-table__toolbar__select.batch-checkbox-all
|
|
|
|
%label.batch-table__toolbar__select.batch-checkbox-all
|
|
|
|
= check_box_tag :batch_checkbox_all, nil, false
|
|
|
|
= check_box_tag :batch_checkbox_all, nil, false
|
|
|
|
.batch-table__toolbar__actions
|
|
|
|
.batch-table__toolbar__actions
|
|
|
|
|
|
|
|
= link_to safe_join([material_symbol('add'), t('admin.reports.add_to_report')]),
|
|
|
|
|
|
|
|
admin_account_statuses_path(@report.target_account_id, report_id: @report.id),
|
|
|
|
|
|
|
|
class: 'table-action-link'
|
|
|
|
- if !@statuses.empty? && @report.unresolved?
|
|
|
|
- if !@statuses.empty? && @report.unresolved?
|
|
|
|
= f.button safe_join([material_symbol('close'), t('admin.statuses.batch.remove_from_report')]), name: :remove_from_report, class: 'table-action-link', type: :submit
|
|
|
|
= f.button safe_join([material_symbol('close'), t('admin.statuses.batch.remove_from_report')]), name: :remove_from_report, class: 'table-action-link', type: :submit
|
|
|
|
.batch-table__body
|
|
|
|
.batch-table__body
|
|
|
|
|