Mercurial > kallithea
changeset 5076:42c6d8e4a0de
permissions: by default, don't show entities with no access
There might be a lot of entities the user/group don't have access and it is
much more important to be able to see at a glance what the user/group has to
access to than what it doesn't have access to.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 28 Apr 2015 16:55:05 +0200 |
parents | dd8459607c07 |
children | faf943716616 |
files | kallithea/templates/base/perms_summary.html |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/base/perms_summary.html Tue Apr 28 16:55:05 2015 +0200 +++ b/kallithea/templates/base/perms_summary.html Tue Apr 28 16:55:05 2015 +0200 @@ -124,6 +124,7 @@ show_empty(section); } $('.perm_filter').on('change', function(){update_show($(this));}); + $('.perm_filter[value=none]').each(function(){this.checked = false; update_show($(this));}); }) </script> </%def>