about summary refs log tree commit diff
path: root/app/views/admin/accounts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-03-26 02:53:13 +0100
committerGitHub <noreply@github.com>2022-03-26 02:53:13 +0100
commit2dd30804b62f750c2780b7043318cbe00d137429 (patch)
tree5b772bdad0c7e11d459f190d3be71e2e0be5e172 /app/views/admin/accounts
parent52813830bee5607332b49bee2916956286ec5dc1 (diff)
Change how unconfirmed accounts are displayed in admin UI (#17874)
Fix #17815
Diffstat (limited to 'app/views/admin/accounts')
-rw-r--r--app/views/admin/accounts/_account.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/accounts/_account.html.haml b/app/views/admin/accounts/_account.html.haml
index 2df91301e..82dd8dfb2 100644
--- a/app/views/admin/accounts/_account.html.haml
+++ b/app/views/admin/accounts/_account.html.haml
@@ -1,4 +1,4 @@
-.batch-table__row{ class: [!account.suspended? && account.user_pending? && 'batch-table__row--attention', account.suspended? && 'batch-table__row--muted'] }
+.batch-table__row{ class: [!account.suspended? && account.user_pending? && 'batch-table__row--attention', (account.suspended? || account.user_unconfirmed?) && 'batch-table__row--muted'] }
   %label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
     = f.check_box :account_ids, { multiple: true, include_hidden: false }, account.id
   .batch-table__row__content.batch-table__row__content--unpadded