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
app/models
config/locales

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

@ -3801,6 +3801,8 @@ en:
embeddable_host_update: "embeddable host update"
embeddable_host_destroy: "embeddable host destroy"
change_theme_setting: "change theme setting"
disable_theme_component: "disable theme component"
enable_theme_component: "enable theme component"
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."