X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fcf_custom_field_add.tpl;h=442f41bb876278ecfd13d63357b207c965b343d6;hb=582bcea8035519f2b93be44023ec2cd032ef2504;hp=f1fffc2d7731b8b8048ed74fcb08fc5f1bab7746;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/cf_custom_field_add.tpl b/WEB-INF/templates/cf_custom_field_add.tpl
index f1fffc2d..442f41bb 100644
--- a/WEB-INF/templates/cf_custom_field_add.tpl
+++ b/WEB-INF/templates/cf_custom_field_add.tpl
@@ -2,7 +2,7 @@
- {if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
{$i18n.label.thing_name} (*): |
@@ -24,8 +24,8 @@
{$forms.fieldForm.btn_add.control} |
- {/if}
+{/if}
|
-{$forms.fieldForm.close}
\ No newline at end of file
+{$forms.fieldForm.close}