# HG changeset patch # User Marcin Kuzminski # Date 2018-12-04 20:44:01 # Node ID 4a18ba488c7a8fbf72de4a4078491236dcae558b # Parent 6e0a80a70f46903eeae45854058dd3d772ce9636 auth-plugin: show if plugin is activated and enabled in the list. - We don't wont to confuse peaople with enabled/activated meaning and the fact plugin needs to be first activated, then enabled. diff --git a/rhodecode/templates/admin/auth/auth_settings.mako b/rhodecode/templates/admin/auth/auth_settings.mako --- a/rhodecode/templates/admin/auth/auth_settings.mako +++ b/rhodecode/templates/admin/auth/auth_settings.mako @@ -48,7 +48,7 @@
-
${_("Ordered Enabled Plugins")}
+
${_("Ordered Activated Plugins")}
${h.textarea('auth_plugins',cols=120,rows=20,class_="medium")}
@@ -64,11 +64,12 @@ ${_('Plugin Name')} ${_('Documentation')} ${_('Plugin ID')} + ${_('Enabled')} %for plugin in available_plugins: - ${_('enabled') if plugin.get_id() in enabled_plugins else _('disabled')} + ${_('activated') if plugin.get_id() in enabled_plugins else _('not active')} ${plugin.get_display_name()} @@ -78,6 +79,7 @@ % endif ${plugin.get_id()} + ${plugin.is_active()} %endfor @@ -109,7 +111,7 @@ elems.splice(elems.indexOf(plugin_id), 1); auth_plugins_input.val(elems.join(',\n')); $(cur_button).removeClass('btn-success'); - cur_button.innerHTML = _gettext('disabled'); + cur_button.innerHTML = _gettext('not active'); } else{ if(elems.indexOf(plugin_id) == -1){ @@ -117,7 +119,7 @@ } auth_plugins_input.val(elems.join(',\n')); $(cur_button).addClass('btn-success'); - cur_button.innerHTML = _gettext('enabled'); + cur_button.innerHTML = _gettext('activated'); } });