X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=7a1b156b2aac48f58557d04b56dbe5862db0f1a8;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=9b9266b424fb7f31f459488bc8cf96b1cc1b1c31;hpb=70272dc970919c348288bd09ff835f05e7538949;p=timetracker.git diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl index 9b9266b4..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} - - + + {if CustomFields::TYPE_TEXT == $field['type']} @@ -36,4 +36,4 @@
{$i18n.label.thing_name}
{$field['label']|escape:'html'}
{$field['label']|escape}{$i18n.label.type_text}
-{$forms.customFieldsForm.close} \ No newline at end of file +{$forms.customFieldsForm.close}