about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authorJeong Arm <kjwonmail@gmail.com>2022-12-16 01:30:47 +0900
committerGitHub <noreply@github.com>2022-12-15 17:30:47 +0100
commit3656a6b9cc353f7f08a2d8f00c1b3f2fd8e3fb21 (patch)
treecb73c07788d7d989117024e1eecf08a8bb36fb08 /app/views/admin
parentcedf1383138b2e58ba6ff9aab46beddeaf1a1354 (diff)
Add "disabled" user filter for admin/accounts UI (#21282)
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/accounts/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/accounts/index.html.haml b/app/views/admin/accounts/index.html.haml
index f33f788ed..d0897221d 100644
--- a/app/views/admin/accounts/index.html.haml
+++ b/app/views/admin/accounts/index.html.haml
@@ -13,7 +13,7 @@
     .filter-subset.filter-subset--with-select
       %strong= t('admin.accounts.moderation.title')
       .input.select.optional
-        = select_tag :status, options_for_select([[t('admin.accounts.moderation.active'), 'active'], [t('admin.accounts.moderation.silenced'), 'silenced'], [t('admin.accounts.moderation.suspended'), 'suspended'], [safe_join([t('admin.accounts.moderation.pending'), "(#{number_with_delimiter(User.pending.count)})"], ' '), 'pending']], params[:status]), prompt: I18n.t('generic.all')
+        = select_tag :status, options_for_select([[t('admin.accounts.moderation.active'), 'active'], [t('admin.accounts.moderation.silenced'), 'silenced'], [t('admin.accounts.moderation.disabled'), 'disabled'], [t('admin.accounts.moderation.suspended'), 'suspended'], [safe_join([t('admin.accounts.moderation.pending'), "(#{number_with_delimiter(User.pending.count)})"], ' '), 'pending']], params[:status]), prompt: I18n.t('generic.all')
     .filter-subset.filter-subset--with-select
       %strong= t('admin.accounts.role')
       .input.select.optional