mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 01:16:23 +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
|
.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']
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue