diff --git a/openslides/core/static/css/app.css b/openslides/core/static/css/app.css index b5f76af3b..758a4e8d7 100644 --- a/openslides/core/static/css/app.css +++ b/openslides/core/static/css/app.css @@ -553,3 +553,8 @@ table.cke_dialog_contents textarea { width: 50px !important; } } + +/* Hide elements with os-perms-lite */ +.os-perms-lite { + display: none !important; +} diff --git a/openslides/users/static/js/users/users.js b/openslides/users/static/js/users/users.js index 0c6aa0a2a..6e1363668 100644 --- a/openslides/users/static/js/users/users.js +++ b/openslides/users/static/js/users/users.js @@ -310,15 +310,15 @@ angular.module('OpenSlidesApp.users.site', ['OpenSlidesApp.users']) }]) /* - * Like osPermsLite but does only hide the DOM-Elements + * Like osPerms but does only hide the DOM-Elements * * This is the Code from angular.js ngShow. */ .directive('osPermsLite', [ '$animate', function($animate) { - var NG_HIDE_CLASS = 'ng-hide'; - var NG_HIDE_IN_PROGRESS_CLASS = 'ng-hide-animate'; + var NG_HIDE_CLASS = 'os-perms-lite'; + var NG_HIDE_IN_PROGRESS_CLASS = 'os-perms-lite-animate'; return { restrict: 'A', multiElement: true,