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

19 lines
890 B
Text
Raw Permalink Normal View History

- form_id = 'activity_pub_action_on_several'
2024-03-08 16:08:24 +00:00
= render 'components/select_all_container', path: site_activity_pubs_action_on_several_path, form: form_id
.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
.col-11
-# Filtros
2024-03-08 16:08:24 +00:00
= render 'components/comments_filters', activity_pubs: moderation_queue, form: form_id
.col-12
- if moderation_queue.count.zero?
%h4= t('moderation_queue.nothing')
- moderation_queue.each do |activity_pub|
- 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