Mercurial > kallithea
comparison rhodecode/templates/admin/users/user_edit.html @ 3627:32cb8d45f330 beta
helpers: show boolean value of value as icon, not just the True and False singletons
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Thu, 28 Mar 2013 01:10:45 +0100 |
parents | ce9a226e0867 |
children | ec6354949623 |
comparison
equal
deleted
inserted
replaced
3626:0a1417ef1a9c | 3627:32cb8d45f330 |
---|---|
223 ${h.get_permission_name(k)} | 223 ${h.get_permission_name(k)} |
224 %endif | 224 %endif |
225 </td> | 225 </td> |
226 <td> | 226 <td> |
227 %if section == 'global': | 227 %if section == 'global': |
228 ${h.bool2icon(k.split('.')[-1] != 'none')} | 228 ${h.boolicon(k.split('.')[-1] != 'none')} |
229 %else: | 229 %else: |
230 <span class="perm_tag ${_perm}">${section_perm}</span> | 230 <span class="perm_tag ${_perm}">${section_perm}</span> |
231 %endif | 231 %endif |
232 </td> | 232 </td> |
233 <td> | 233 <td> |