5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 02:06:21 +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 .row.no-gutters.pt-2
.col-1 .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 .col-11
%h4 %h4
%a{href: profile['id']}= profile['preferredUsername'] %a{href: profile['id']}= profile['preferredUsername']

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 .col-1.d-flex.align-items-center
= render 'components/checkbox', id: moderation_queue.first['id'] = render 'components/select_all', id: 'actors'
.col-11 .col-11
-# Filtros -# Filtros
= render 'components/profiles_filters' = render 'components/profiles_filters'
.col-12
- @moderation_queue.map{ |c| c['attributedTo'] }.uniq.each do |remote_profile| - @moderation_queue.map{ |c| c['attributedTo'] }.uniq.each do |remote_profile|
%hr %hr
= render 'account', profile: remote_profile = render 'account', profile: remote_profile