# HG changeset patch # User Marcin Kuzminski # Date 2018-12-08 16:48:29 # Node ID 1b64f905d2d77e6d1e2329b33027ced65fe7e7e2 # Parent 1d6bf147b16e9c5ac75ae32dc4b09062eb0279cb auth-plugins: indicate activate and not-enabled plugin with gre6; diff --git a/rhodecode/public/css/tables.less b/rhodecode/public/css/tables.less --- a/rhodecode/public/css/tables.less +++ b/rhodecode/public/css/tables.less @@ -64,7 +64,9 @@ table.dataTable { .expired td { background-color: @grey7; } - + .inactive td { + background-color: @grey6; + } th { text-align: left; font-weight: @text-semibold-weight; 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 @@ -66,7 +66,7 @@ ${_('Plugin ID')} ${_('Enabled')} %for plugin in available_plugins: - + ${_('activated') if plugin.get_id() in enabled_plugins else _('not active')} @@ -114,8 +114,8 @@ cur_button.innerHTML = _gettext('not active'); } else{ - if(elems.indexOf(plugin_id) == -1){ - elems.push(plugin_id); + if (elems.indexOf(plugin_id) === -1) { + elems.push(plugin_id); } auth_plugins_input.val(elems.join(',\n')); $(cur_button).addClass('btn-success');