diff rhodecode/templates/admin/permissions/permissions.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
line wrap: on
line diff
--- a/rhodecode/templates/admin/permissions/permissions.html	Thu Mar 28 01:10:45 2013 +0100
+++ b/rhodecode/templates/admin/permissions/permissions.html	Thu Mar 28 01:10:45 2013 +0100
@@ -139,7 +139,7 @@
                         </td>
                         <td>
                             %if section == 'global':
-                             ${h.bool2icon(k.split('.')[-1] != 'none')}
+                             ${h.boolicon(k.split('.')[-1] != 'none')}
                             %else:
                              <span class="perm_tag ${_perm}">${section_perm}</span>
                             %endif