diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-02-06 15:34:42 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-02-06 15:34:42 +0100 |
commit | aa832d623ac0812a970ea90440c50fca9a7bb616 (patch) | |
tree | 45ef2112a99163aba4a2f65c02ec1c7604b249a3 /app/views | |
parent | 24d1ddcc24996d0b9de11fa725f0e15c78d59fba (diff) | |
parent | 92658f0fb0cf6cb582126f41f7132bde80f77657 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts: - `CHANGELOG.md`: Upstream added newlines. Conflicts are because the CHANGELOG was independently merged from 3.4.6 on last security update. Took upstream's version. - `app/helpers/context_helper.rb`: Conflicts because of extra vocabulary in glitch-soc. The conflicts were actually handled in last security merge. Kept our version.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/relationships/index.html.haml | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/app/views/admin/relationships/index.html.haml b/app/views/admin/relationships/index.html.haml index 907477f24..60b9b5b25 100644 --- a/app/views/admin/relationships/index.html.haml +++ b/app/views/admin/relationships/index.html.haml @@ -24,16 +24,17 @@ %hr.spacer/ -.table-wrapper - %table.table - %thead - %tr - %th= t('admin.accounts.username') - %th= t('admin.accounts.role') - %th= t('admin.accounts.most_recent_ip') - %th= t('admin.accounts.most_recent_activity') - %th - %tbody - = render partial: 'admin/accounts/account', collection: @accounts += form_for(@form, url: batch_admin_accounts_path) do |f| + .batch-table + .batch-table__toolbar + %label.batch-table__toolbar__select.batch-checkbox-all + = check_box_tag :batch_checkbox_all, nil, false + .batch-table__toolbar__actions + = f.button safe_join([fa_icon('lock'), t('admin.accounts.perform_full_suspension')]), name: :suspend, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') } + .batch-table__body + - if @accounts.empty? + = nothing_here 'nothing-here--under-tabs' + - else + = render partial: 'admin/accounts/account', collection: @accounts, locals: { f: f } = paginate @accounts |