X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=5d254e9cc616f49cc439b9827eacbbc1ec6f494d;hb=3c96bcaf6046242b9af54af454e2782ece8baa66;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..5d254e9c 100644
--- a/WEB-INF/templates/cf_custom_fields.tpl
+++ b/WEB-INF/templates/cf_custom_fields.tpl
@@ -2,19 +2,19 @@
-{if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
-
-
+ |
+ |
{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} |
|
@@ -22,8 +22,8 @@
{$i18n.label.type_dropdown} |
{$i18n.label.configure} |
{/if}
- {$i18n.label.edit} |
- {$i18n.label.delete} |
+ |
+ |
{/foreach}
{/if}
@@ -36,4 +36,4 @@
-{$forms.customFieldsForm.close}
\ No newline at end of file
+{$forms.customFieldsForm.close}
|