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-08 16:08:24 +00:00
|
|
|
= render 'components/select_all_container', path: site_activity_pubs_action_on_several_path, form: form_id
|
2024-03-04 18:11:29 +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: 'select-all-comments', form: form_id
|
2024-03-04 20:45:16 +00:00
|
|
|
.col-11
|
2024-03-04 18:11:29 +00:00
|
|
|
-# Filtros
|
2024-03-08 16:08:24 +00:00
|
|
|
= render 'components/comments_filters', activity_pubs: moderation_queue, form: form_id
|
2024-03-04 18:11:29 +00:00
|
|
|
.col-12
|
|
|
|
- if moderation_queue.count.zero?
|
|
|
|
%h4= t('moderation_queue.nothing')
|
|
|
|
- moderation_queue.each do |activity_pub|
|
2024-03-18 19:55:20 +00:00
|
|
|
- next if activity_pub.object.content.empty?
|
|
|
|
- next if activity_pub.actor.content.empty?
|
2024-03-14 14:57:06 +00:00
|
|
|
%hr
|
2024-03-18 14:55:38 +00:00
|
|
|
= render 'moderation_queue/comment', comment: activity_pub.object.content, profile: activity_pub.actor.content, activity_pub: activity_pub, form: form_id, site: site, object: activity_pub.object
|