mirror of
https://github.com/mastodon/mastodon.git
synced 2025-02-08 07:55:06 +00:00
![Matt Jankowski](/assets/img/avatar_default.png)
Some checks are pending
Bundler Audit / security (push) Waiting to run
Check i18n / check-i18n (push) Waiting to run
CodeQL / Analyze (javascript) (push) Waiting to run
CodeQL / Analyze (ruby) (push) Waiting to run
Crowdin / Upload translations / upload-translations (push) Waiting to run
Check formatting / lint (push) Waiting to run
Haml Linting / lint (push) Waiting to run
Ruby Linting / lint (push) Waiting to run
Historical data migration test / pre_job (push) Waiting to run
Historical data migration test / test (14-alpine) (push) Blocked by required conditions
Historical data migration test / test (15-alpine) (push) Blocked by required conditions
Ruby Testing / build (production) (push) Waiting to run
Ruby Testing / build (test) (push) Waiting to run
Ruby Testing / test (.ruby-version) (push) Blocked by required conditions
Ruby Testing / test (3.1) (push) Blocked by required conditions
Ruby Testing / test (3.2) (push) Blocked by required conditions
Ruby Testing / Libvips tests (.ruby-version) (push) Blocked by required conditions
Ruby Testing / Libvips tests (3.1) (push) Blocked by required conditions
Ruby Testing / Libvips tests (3.2) (push) Blocked by required conditions
Ruby Testing / End to End testing (.ruby-version) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.1) (push) Blocked by required conditions
Ruby Testing / End to End testing (3.2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, docker.elastic.co/elasticsearch/elasticsearch:8.10.2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (.ruby-version, opensearchproject/opensearch:2) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.1, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
Ruby Testing / Elastic Search integration testing (3.2, docker.elastic.co/elasticsearch/elasticsearch:7.17.13) (push) Blocked by required conditions
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
- content_for :page_title do
|
|
= t('admin.statuses.title')
|
|
\-
|
|
@#{@account.pretty_acct}
|
|
|
|
.filters
|
|
.filter-subset
|
|
%strong= t('admin.statuses.media.title')
|
|
%ul
|
|
%li= filter_link_to t('generic.all'), media: nil, id: nil
|
|
%li= filter_link_to t('admin.statuses.with_media'), media: '1'
|
|
.back-link
|
|
- if params[:report_id]
|
|
= link_to admin_report_path(params[:report_id].to_i) do
|
|
= material_symbol 'chevron_left'
|
|
= t('admin.statuses.back_to_report')
|
|
- else
|
|
= link_to admin_account_path(@account.id) do
|
|
= material_symbol 'chevron_left'
|
|
= t('admin.statuses.back_to_account')
|
|
|
|
%hr.spacer/
|
|
|
|
= form_with model: @status_batch_action, url: batch_admin_account_statuses_path(@account.id) do |f|
|
|
= hidden_field_tag :page, params[:page] || 1
|
|
|
|
- Admin::StatusFilter::KEYS.each do |key|
|
|
= hidden_field_tag key, params[key] if params[key].present?
|
|
|
|
.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
|
|
- unless @statuses.empty?
|
|
= f.button safe_join([fa_icon('flag'), t('admin.statuses.batch.report')]),
|
|
class: 'table-action-link',
|
|
data: { confirm: t('admin.reports.are_you_sure') },
|
|
name: :report,
|
|
type: :submit
|
|
.batch-table__body
|
|
- if @statuses.empty?
|
|
= nothing_here 'nothing-here--under-tabs'
|
|
- else
|
|
= render partial: 'admin/reports/status', collection: @statuses, locals: { f: f }
|
|
|
|
= paginate @statuses
|