FIX: logs for enabling/disabling components should show up in the staff actions logs

This commit is contained in:
OsamaSayegh
2019-07-03 12:33:25 +00:00
parent 1c6bb8748b
commit 426c8045de
2 changed files with 5 additions and 1 deletions

View File

@ -169,7 +169,9 @@ class UserHistory < ActiveRecord::Base
:embeddable_host_create, :embeddable_host_create,
:embeddable_host_update, :embeddable_host_update,
:embeddable_host_destroy, :embeddable_host_destroy,
:change_theme_setting :change_theme_setting,
:disable_theme_component,
:enable_theme_component
] ]
end end

View File

@ -3801,6 +3801,8 @@ en:
embeddable_host_update: "embeddable host update" embeddable_host_update: "embeddable host update"
embeddable_host_destroy: "embeddable host destroy" embeddable_host_destroy: "embeddable host destroy"
change_theme_setting: "change theme setting" change_theme_setting: "change theme setting"
disable_theme_component: "disable theme component"
enable_theme_component: "enable theme component"
screened_emails: screened_emails:
title: "Screened Emails" title: "Screened Emails"
description: "When someone tries to create a new account, the following email addresses will be checked and the registration will be blocked, or some other action performed." description: "When someone tries to create a new account, the following email addresses will be checked and the registration will be blocked, or some other action performed."