Show More
@@ -119,7 +119,7 b'' | |||
|
119 | 119 | <th class="left">${_('Edit Permission')}</th> |
|
120 | 120 | </thead> |
|
121 | 121 | <tbody> |
|
122 | %for k in c.perm_user.permissions[section]: | |
|
122 | %for k in sorted(c.perm_user.permissions[section], key=lambda s: s.lower): | |
|
123 | 123 | <% |
|
124 | 124 | if section != 'global': |
|
125 | 125 | section_perm = c.perm_user.permissions[section].get(k) |
@@ -205,7 +205,7 b'' | |||
|
205 | 205 | <th class="left">${_('Edit Permission')}</th> |
|
206 | 206 | </thead> |
|
207 | 207 | <tbody> |
|
208 | %for k in c.perm_user.permissions[section]: | |
|
208 | %for k in sorted(c.perm_user.permissions[section], key=lambda s: s.lower): | |
|
209 | 209 | <% |
|
210 | 210 | if section != 'global': |
|
211 | 211 | section_perm = c.perm_user.permissions[section].get(k) |
@@ -56,7 +56,7 b'' | |||
|
56 | 56 | <th class="left">${_('Permission')}</th> |
|
57 | 57 | </thead> |
|
58 | 58 | <tbody> |
|
59 | %for k in c.rhodecode_user.permissions[section]: | |
|
59 | %for k in sorted(c.rhodecode_user.permissions[section], key=lambda s: s.lower): | |
|
60 | 60 | <% |
|
61 | 61 | if section != 'global': |
|
62 | 62 | section_perm = c.rhodecode_user.permissions[section].get(k) |
@@ -186,7 +186,7 b'' | |||
|
186 | 186 | <th class="left">${_('Edit Permission')}</th> |
|
187 | 187 | </thead> |
|
188 | 188 | <tbody> |
|
189 | %for k in c.users_group.permissions[section]: | |
|
189 | %for k in sorted(c.users_group.permissions[section], key=lambda s: s.lower): | |
|
190 | 190 | <% |
|
191 | 191 | section_perm = c.users_group.permissions[section].get(k) |
|
192 | 192 | _perm = section_perm.split('.')[-1] |
General Comments 0
You need to be logged in to leave comments.
Login now