2024-02-26 20:37:34 +00:00
|
|
|
%section
|
|
|
|
%form{ action: site_instance_moderations_action_on_several_path, method: :post }
|
|
|
|
.row.no-gutters.pt-2{ data: { controller: 'select-all' } }
|
|
|
|
.col-1.d-flex.align-items-center
|
|
|
|
= render 'components/select_all', id: 'instances'
|
|
|
|
.col-11
|
|
|
|
-# Filtros
|
|
|
|
= render 'components/instances_filters'
|
2024-02-05 16:03:29 +00:00
|
|
|
|
2024-02-26 20:37:34 +00:00
|
|
|
.col-12
|
|
|
|
- if instance_moderations.count.zero?
|
|
|
|
%h3= t('moderation_queue.nothing')
|
2024-02-26 19:51:33 +00:00
|
|
|
|
2024-02-26 20:37:34 +00:00
|
|
|
- instance_moderations.each do |instance_moderation|
|
|
|
|
%hr
|
|
|
|
= render 'moderation_queue/instance', instance_moderation: instance_moderation, instance: instance_moderation.instance
|
2024-02-07 17:42:25 +00:00
|
|
|
|
2024-02-26 20:37:34 +00:00
|
|
|
%hr
|
|
|
|
%div
|
2024-02-26 20:03:18 +00:00
|
|
|
%h3.mt-5= t('moderation_queue.instances.title')
|
|
|
|
%lead= t('moderation_queue.instances.description')
|
|
|
|
= render 'components/block_lists', blocklists: @blocklists
|
|
|
|
= render 'moderation_queue/block_instances_textarea'
|