X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=7a1b156b2aac48f58557d04b56dbe5862db0f1a8;hb=e19990636073ca1aa353a67033dc0cec311fdab9;hp=54be19d2834eaa7e9485b3739912d1875b844b76;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git
diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl
index 54be19d2..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,7 +13,7 @@
{if $custom_fields}
{foreach $custom_fields as $field}
-
+
{$field['label']|escape} |
{if CustomFields::TYPE_TEXT == $field['type']}
{$i18n.label.type_text} |
|