X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_dropdown_options.tpl;h=b920d733e3e9496da1ba0644d5e80ce8c5adc68f;hb=2b39252b38f5bd1be462224fe781a40f5b0ddf95;hp=833cd7c10aabcddadedb734efd1eaefae2f7b414;hpb=0dcf21723daf12934f4977fcf24a0e1b1bff8021;p=timetracker.git
diff --git a/WEB-INF/templates/cf_dropdown_options.tpl b/WEB-INF/templates/cf_dropdown_options.tpl
index 833cd7c1..b920d733 100644
--- a/WEB-INF/templates/cf_dropdown_options.tpl
+++ b/WEB-INF/templates/cf_dropdown_options.tpl
@@ -2,23 +2,22 @@
function chLocation(newLocation) { document.location = newLocation; }
-{$forms.dropdownOptionsForm.open}
-{if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
-
-
-
+
+ |
+ |
{if $options}
{foreach $options as $key=>$val}
-
- {$val|escape:'html'} |
- {$i18n.label.edit} |
- {$i18n.label.delete} |
+
+ {$val|escape} |
+ ![{$i18n.label.edit}](images/icon_edit.png) |
+ ![{$i18n.label.delete}](images/icon_delete.png) |
{/foreach}
{/if}
@@ -29,7 +28,7 @@
|
@@ -38,4 +37,3 @@
-{$forms.dropdownOptionsForm.close}
\ No newline at end of file
|