# HG changeset patch # User Marcin Kuzminski # Date 2017-08-08 14:27:47 # Node ID 29e0af0782578a75e941b6985f8e54c48daf1149 # Parent f4c52bb1ff0913fb46ad2c1d3cb577580302805e perms: use text labels about given permissions instead of potentially display icon. - icon can be misleading becuase lack of it gives no explicit state explanation - using True/False labels makes more sense - this is also compliant with UI for people with disabilities. diff --git a/rhodecode/templates/base/perms_summary.mako b/rhodecode/templates/base/perms_summary.mako --- a/rhodecode/templates/base/perms_summary.mako +++ b/rhodecode/templates/base/perms_summary.mako @@ -70,10 +70,12 @@ %endif %else: %if not val_lbl: - ${h.bool2icon({'false': False, - 'true': True, - 'none': False, - 'repository': True}.get(val[1][0] if 0 < len(val[1]) else 'false'))} + ${ + {'false': False, + 'true': True, + 'none': False, + 'repository': True}.get(val[1][0] if 0 < len(val[1]) else 'false') + } %else: ${val_lbl}.${val[1][0]} %endif