aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/templates
diff options
context:
space:
mode:
authorMads Kiilerich <madski@unity3d.com>2013-03-28 01:10:45 +0100
committerMads Kiilerich <madski@unity3d.com>2013-03-28 01:10:45 +0100
commit99c5248e672e0adc73fa0fdb244c24c00a663eeb (patch)
tree563f7746b39a40c01e4d01738468d994ad28fcc5 /rhodecode/templates
parent337ac0d5c6fded734c9cff87762cc6760a21e739 (diff)
helpers: show boolean value of value as icon, not just the True and False singletons
--HG-- branch : beta
Diffstat (limited to 'rhodecode/templates')
-rw-r--r--rhodecode/templates/admin/permissions/permissions.html2
-rw-r--r--rhodecode/templates/admin/repos/repo_edit.html2
-rw-r--r--rhodecode/templates/admin/users/user_edit.html2
-rw-r--r--rhodecode/templates/admin/users/user_edit_my_account.html2
-rw-r--r--rhodecode/templates/admin/users_groups/users_groups.html2
5 files changed, 5 insertions, 5 deletions
diff --git a/rhodecode/templates/admin/permissions/permissions.html b/rhodecode/templates/admin/permissions/permissions.html
index 68c07055..dfbe15fa 100644
--- a/rhodecode/templates/admin/permissions/permissions.html
+++ b/rhodecode/templates/admin/permissions/permissions.html
@@ -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
diff --git a/rhodecode/templates/admin/repos/repo_edit.html b/rhodecode/templates/admin/repos/repo_edit.html
index b1068943..4233378e 100644
--- a/rhodecode/templates/admin/repos/repo_edit.html
+++ b/rhodecode/templates/admin/repos/repo_edit.html
@@ -221,7 +221,7 @@ ${self.context_bar('options')}
<tr>
<td>${cache.get_prefix() or '-'}</td>
<td>${cache.cache_key}</td>
- <td>${h.bool2icon(cache.cache_active)}</td>
+ <td>${h.boolicon(cache.cache_active)}</td>
</tr>
%endfor
</table>
diff --git a/rhodecode/templates/admin/users/user_edit.html b/rhodecode/templates/admin/users/user_edit.html
index 57c27c6d..c8299410 100644
--- a/rhodecode/templates/admin/users/user_edit.html
+++ b/rhodecode/templates/admin/users/user_edit.html
@@ -225,7 +225,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
diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html
index 893b3365..0510e464 100644
--- a/rhodecode/templates/admin/users/user_edit_my_account.html
+++ b/rhodecode/templates/admin/users/user_edit_my_account.html
@@ -77,7 +77,7 @@
</td>
<td>
%if section == 'global':
- ${h.bool2icon(True)}
+ ${h.boolicon(True)}
%else:
<span class="perm_tag ${_perm}">${section_perm}</span>
%endif
diff --git a/rhodecode/templates/admin/users_groups/users_groups.html b/rhodecode/templates/admin/users_groups/users_groups.html
index 7dce4797..64faeefe 100644
--- a/rhodecode/templates/admin/users_groups/users_groups.html
+++ b/rhodecode/templates/admin/users_groups/users_groups.html
@@ -40,7 +40,7 @@
<tr class="parity${cnt%2}">
<td>${h.link_to(u_group.users_group_name,h.url('edit_users_group', id=u_group.users_group_id))}</td>
<td><span class="tooltip" title="${h.tooltip(', '.join(map(h.safe_unicode,[x.user.username for x in u_group.members[:50]])))}">${len(u_group.members)}</span></td>
- <td>${h.bool2icon(u_group.users_group_active)}</td>
+ <td>${h.boolicon(u_group.users_group_active)}</td>
<td>
${h.form(url('users_group', id=u_group.users_group_id),method='delete')}
${h.submit('remove_',_('delete'),id="remove_group_%s" % u_group.users_group_id,