Add batch suspend for accounts in admin UI (#17009)

This commit is contained in:
Eugen Rochko
2021-12-05 21:48:39 +01:00
committed by GitHub
parent 2e2ea6bb6b
commit 0fb9536d38
26 changed files with 312 additions and 278 deletions

View File

@ -36,6 +36,8 @@ module Admin::ActionLogsHelper
def log_target_from_history(type, attributes)
case type
when 'User'
attributes['username']
when 'CustomEmoji'
attributes['shortcode']
when 'DomainBlock', 'DomainAllow', 'EmailDomainBlock', 'UnavailableDomain'