X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fcf_custom_field_delete.tpl;h=fae6d804d78115e20c0085d2b52f3e7adfae90df;hb=1e8bced6189bad0604be29c28bdabaf8c3e7442b;hp=80fb155c594d051e6584383daa388d5c3a0ff23d;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/cf_custom_field_delete.tpl b/WEB-INF/templates/cf_custom_field_delete.tpl
index 80fb155c..fae6d804 100644
--- a/WEB-INF/templates/cf_custom_field_delete.tpl
+++ b/WEB-INF/templates/cf_custom_field_delete.tpl
@@ -2,10 +2,10 @@
- {if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
- {$field|escape:'html'} |
+ {$field|escape} |
|
@@ -15,8 +15,8 @@
{$forms.fieldDeleteForm.btn_cancel.control} |
- {/if}
+{/if}
|
-{$forms.fieldDeleteForm.close}
\ No newline at end of file
+{$forms.fieldDeleteForm.close}