mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-24 02:18:07 +01:00
193250556c
Conflicts: - `README.md`: Upstream changed their README, we have our own. Kept ours. - `app/helpers/application_helper.rb`: Minor code style fix upstream, on a line that is different in glitch-soc due to the different theming system. Applied the code style fix to our own code. - `app/views/settings/preferences/appearance/show.html.haml`: Code style fix on a line next to lines exclusive to glitch-soc. Applied upstream changes. - `yarn.lock`: Upstream updated a dependency textually close to a glitch-soc-only dependency. Updated the dependency like upstream did.
25 lines
1.1 KiB
Text
25 lines
1.1 KiB
Text
- content_for :page_title do
|
|
= t('admin.action_logs.title')
|
|
|
|
= form_tag admin_action_logs_url, method: 'GET', class: 'simple_form' do
|
|
= hidden_field_tag :target_account_id, params[:target_account_id] if params[:target_account_id].present?
|
|
|
|
.filters
|
|
.filter-subset.filter-subset--with-select
|
|
%strong= t('admin.action_logs.filter_by_user')
|
|
.input.select.optional
|
|
= select_tag :account_id, options_from_collection_for_select(@auditable_accounts, :id, :username, params[:account_id]), prompt: I18n.t('admin.accounts.moderation.all')
|
|
|
|
.filter-subset.filter-subset--with-select
|
|
%strong= t('admin.action_logs.filter_by_action')
|
|
.input.select.optional
|
|
= select_tag :action_type, options_for_select(Admin::ActionLogFilter::ACTION_TYPE_MAP.keys.map { |key| [I18n.t("admin.action_logs.action_types.#{key}"), key] }, params[:action_type]), prompt: I18n.t('admin.accounts.moderation.all')
|
|
|
|
- if @action_logs.empty?
|
|
.muted-hint.center-text
|
|
= t 'admin.action_logs.empty'
|
|
- else
|
|
.report-notes
|
|
= render partial: 'action_log', collection: @action_logs
|
|
|
|
= paginate @action_logs
|