X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=5d254e9cc616f49cc439b9827eacbbc1ec6f494d;hb=45ca7d2258832cb0d2465eb16dd646d925458106;hp=601c4fc74a9e9b1fda633a188ae0af4e8106e89c;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl
index 601c4fc7..5d254e9c 100644
--- a/WEB-INF/templates/cf_custom_fields.tpl
+++ b/WEB-INF/templates/cf_custom_fields.tpl
@@ -2,38 +2,38 @@
- {if $user->canManageTeam()}
-
+{if $user->can('manage_custom_fields')}
+
-
-
+ |
+ |
- {if $custom_fields}
- {foreach $custom_fields as $field}
-
- {$field['label']|escape:'html'} |
- {if CustomFields::TYPE_TEXT == $field['type']}
+ {if $custom_fields}
+ {foreach $custom_fields as $field}
+
+ {$field['label']|escape} |
+ {if CustomFields::TYPE_TEXT == $field['type']}
{$i18n.label.type_text} |
|
- {else if CustomFields::TYPE_DROPDOWN == $field['type']}
+ {elseif CustomFields::TYPE_DROPDOWN == $field['type']}
{$i18n.label.type_dropdown} |
{$i18n.label.configure} |
- {/if}
- {$i18n.label.edit} |
- {$i18n.label.delete} |
+ {/if}
+ ![{$i18n.label.edit}](images/icon_edit.png) |
+ ![{$i18n.label.delete}](images/icon_delete.png) |
- {/foreach}
- {/if}
+ {/foreach}
+ {/if}
-
+
{$forms.customFieldsForm.btn_add.control} |
-
- {/if}
+
+{/if}
|
-{$forms.customFieldsForm.close}
\ No newline at end of file
+{$forms.customFieldsForm.close}