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

26 lines
859 B
Text
Raw Normal View History

.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: instance_moderation.instance
-# Botones moderación
.d-flex.pb-4
= render 'components/instances_btn_box', site: site, instance_moderation: instance_moderation
%hr
.col-12
%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'