5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 17:36:21 +00:00
panel/app/views/moderation_queue/_accounts.haml

18 lines
771 B
Text
Raw Normal View History

2024-03-04 17:39:06 +00:00
- form_id = 'actor_moderations_action_on_several'
2024-03-08 16:08:24 +00:00
= render 'components/select_all_container', path: site_actor_moderations_action_on_several_path, form: form_id
2024-03-04 17:39:06 +00:00
.row.no-gutters.pt-2{ data: { controller: 'select-all' } }
.col-1.d-flex.align-items-center
2024-03-08 16:08:24 +00:00
= render 'components/select_all', id: 'actors', form: form_id
2024-03-04 17:39:06 +00:00
.col-11
-# Filtros
2024-03-08 16:08:24 +00:00
= render 'components/profiles_filters', actor_moderations: actor_moderations, form: form_id
2024-03-04 17:39:06 +00:00
.col-12
- if actor_moderations.count.zero?
%h4= t('moderation_queue.nothing')
- actor_moderations.find_each do |actor_moderation|
- next if actor_moderation.actor.content.empty?
2024-03-14 14:57:06 +00:00
%hr
= render 'account', actor_moderation: actor_moderation, profile: actor_moderation.actor.content, form: form_id