mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 11:16:22 +00:00
feat: poder seleccionar todas las cuentas
This commit is contained in:
parent
ef9169c891
commit
eafe8bcdd5
2 changed files with 8 additions and 10 deletions
|
@ -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']
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue