X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=7a1b156b2aac48f58557d04b56dbe5862db0f1a8;hb=69915aba68a312fb2080c2356a482736efc254ae;hp=4a21d5b337dbf4ff06c08ca201348b79584f3569;hpb=5519f0c3855c71a81442f3da1d135df89f1baf71;p=timetracker.git
diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl
index 4a21d5b3..7a1b156b 100644
--- a/WEB-INF/templates/cf_custom_fields.tpl
+++ b/WEB-INF/templates/cf_custom_fields.tpl
@@ -2,7 +2,7 @@
-{if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
@@ -13,8 +13,8 @@
{if $custom_fields}
{foreach $custom_fields as $field}
-
- {$field['label']|escape:'html'} |
+
+ {$field['label']|escape} |
{if CustomFields::TYPE_TEXT == $field['type']}
{$i18n.label.type_text} |
|
|