2024-03-04 18:11:29 +00:00
|
|
|
- form_id = 'activity_pub_action_on_several'
|
2024-02-05 17:51:17 +00:00
|
|
|
|
2024-03-04 18:11:29 +00:00
|
|
|
= render 'components/select_all_container', path: site_activity_pubs_action_on_several_path, form_id: form_id
|
|
|
|
|
|
|
|
.row.no-gutters.pt-2{ data: { controller: 'select-all' } }
|
|
|
|
.col-1.d-flex.align-items-center
|
|
|
|
= render 'components/select_all', id: 'select-all-comments', form_id: form_id
|
2024-03-04 20:45:16 +00:00
|
|
|
.col-11
|
2024-03-04 18:11:29 +00:00
|
|
|
-# Filtros
|
|
|
|
= render 'components/comments_filters', activity_pubs: moderation_queue, form_id: form_id
|
|
|
|
.col-12
|
|
|
|
- if moderation_queue.count.zero?
|
|
|
|
%h4= t('moderation_queue.nothing')
|
|
|
|
- moderation_queue.each do |activity_pub|
|
|
|
|
-# cache [activity_pub, activity_pub.object, activity_pub.actor] do
|
2024-03-04 16:49:07 +00:00
|
|
|
%hr
|
2024-03-06 20:22:01 +00:00
|
|
|
= render 'moderation_queue/comment', comment: activity_pub.object.content, profile: activity_pub.actor.content, activity_pub: activity_pub, form_id: form_id
|