Sort user roles.
This commit is contained in:
parent
8f54e25b0d
commit
49165be65b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
</ul>
|
||||
-->
|
||||
<ul id="rolespanel">
|
||||
<py:for each="group in sorted(person.memberships)">
|
||||
<py:for each="group in sorted(person.memberships, lambda x,y: cmp(x.name, y.name))">
|
||||
<li py:if="auth.canViewGroup(viewer, group)" class="role">
|
||||
<h4>${group.display_name}</h4> (${group.group_type})
|
||||
<dl>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue