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

15 lines
674 B
Text
Raw Normal View History

2024-03-04 16:49:07 +00:00
%form{ action: site_activity_pubs_action_on_several_path, method: :post, data: { controller: 'select-all' } }
.row.no-gutters.pt-2
.col-1.d-flex.align-items-center
= render 'components/select_all', id: 'select-all-comments'
.col-md-9
-# Filtros
= render 'components/comments_filters', activity_pubs: moderation_queue
2024-03-04 16:49:07 +00:00
- 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
%hr
= render 'comment', comment: activity_pub.object.content, profile: activity_pub.actor.content, activity_pub: activity_pub