diff --git a/rhodecode/templates/base/perms_summary.html b/rhodecode/templates/base/perms_summary.html --- a/rhodecode/templates/base/perms_summary.html +++ b/rhodecode/templates/base/perms_summary.html @@ -9,28 +9,32 @@ %else:
- - - - - - - %if section == 'global': + + + + + + %for k in sorted(permissions[section], key=lambda s: s.lower()): - - %endfor + %else: + + + + + + + %for k, section_perm in sorted(permissions[section].items(), key=lambda s: s[1]+s[0].lower()): %endfor + %endif - -
${_('Name')}${_('Permission')}${_('Edit Permission')}
${_('Permission')}${_('Edit Permission')}
+ ${h.get_permission_name(k)} - ${h.boolicon(k.split('.')[-1] != 'none')} - ${_('edit')}
${_('Name')}${_('Permission')}${_('Edit Permission')}
@@ -38,6 +42,9 @@ ${k} %elif section == 'repositories_groups': ${k} + %elif section == 'user_groups': + ##${k} + ${k} %endif @@ -48,13 +55,14 @@ ${_('edit')} %elif section == 'repositories_groups': ${_('edit')} + %elif section == 'user_groups': + ##${_('edit')} %endif
%endif