X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=5d254e9cc616f49cc439b9827eacbbc1ec6f494d;hb=adf05628f5388349f692bbadd5beca05f792600d;hp=4a21d5b337dbf4ff06c08ca201348b79584f3569;hpb=5519f0c3855c71a81442f3da1d135df89f1baf71;p=timetracker.git
diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl
index 4a21d5b3..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} |
+ ![{$i18n.label.edit}](images/icon_edit.png) |
+ ![{$i18n.label.delete}](images/icon_delete.png) |
{/foreach}
{/if}
|