Add admin ability to remove an user's header image (#9495)
* Fix markup in admin/accounts/:id table for avatar * Add admin ability to remove an user's header image
This commit is contained in:
parent
720daa8143
commit
cf6ee4ff24
5 changed files with 26 additions and 3 deletions
|
@ -92,7 +92,7 @@ module Admin::ActionLogsHelper
|
|||
opposite_verbs?(log) ? 'negative' : 'positive'
|
||||
when :update, :reset_password, :disable_2fa, :memorialize, :change_email
|
||||
'neutral'
|
||||
when :demote, :silence, :disable, :suspend, :remove_avatar, :reopen
|
||||
when :demote, :silence, :disable, :suspend, :remove_avatar, :remove_header, :reopen
|
||||
'negative'
|
||||
when :destroy
|
||||
opposite_verbs?(log) ? 'positive' : 'negative'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue