5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 05:16:23 +00:00

feat: poder seleccionar todas las cuentas

This commit is contained in:
f 2024-02-28 17:26:22 -03:00
parent ef9169c891
commit eafe8bcdd5
No known key found for this signature in database
2 changed files with 8 additions and 10 deletions

View file

@ -1,6 +1,6 @@
.row.no-gutters.pt-2
.col-1
= render 'components/checkbox', id: profile['id']
= render 'components/checkbox', id: profile['id'], name: 'actor[]', value: profile['id'], data: { target: 'select-all.input' }
.col-11
%h4
%a{href: profile['id']}= profile['preferredUsername']
@ -8,4 +8,4 @@
-# Botones de Moderación
.d-flex.pb-4
= render 'components/profiles_btn_box'
= render 'components/profiles_btn_box'

View file

@ -1,12 +1,10 @@
.row.no-gutters.pt-2
.row.no-gutters.pt-2{ data: { controller: 'select-all' } }
.col-1.d-flex.align-items-center
= render 'components/checkbox', id: moderation_queue.first['id']
= render 'components/select_all', id: 'actors'
.col-11
-# Filtros
= render 'components/profiles_filters'
- @moderation_queue.map{ |c| c['attributedTo'] }.uniq.each do |remote_profile|
%hr
= render 'account', profile: remote_profile
.col-12
- @moderation_queue.map{ |c| c['attributedTo'] }.uniq.each do |remote_profile|
%hr
= render 'account', profile: remote_profile