5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 00:16:23 +00:00
panel/app/views/moderation_queue/_instances.haml

24 lines
894 B
Text
Raw Normal View History

%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'
.col-12
- if instance_moderations.count.zero?
%h3= t('moderation_queue.nothing')
- instance_moderations.each do |instance_moderation|
%hr
= render 'moderation_queue/instance', instance_moderation: instance_moderation, instance: instance_moderation.instance
%hr
%div
%h3.mt-5= t('moderation_queue.instances.title')
%lead= t('moderation_queue.instances.description')
= render 'components/block_lists', blocklists: fediblock_states
= render 'moderation_queue/block_instances_textarea'