about summary refs log tree commit diff
path: root/app/helpers/admin
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-12-11 19:28:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-12-11 19:28:03 +0100
commitcf6ee4ff243b66b2b53faaceed1266999b84c3c1 (patch)
tree7b4730ca3d3a069d8b0fdd2670f6f84c4d4b98ee /app/helpers/admin
parent720daa81435b4c632cdf7b64044cf1ee59af977a (diff)
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
Diffstat (limited to 'app/helpers/admin')
-rw-r--r--app/helpers/admin/action_logs_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/admin/action_logs_helper.rb b/app/helpers/admin/action_logs_helper.rb
index c28f0be6b..68cf8c75d 100644
--- a/app/helpers/admin/action_logs_helper.rb
+++ b/app/helpers/admin/action_logs_helper.rb
@@ -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'