X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fcf_dropdown_options.tpl;h=b920d733e3e9496da1ba0644d5e80ce8c5adc68f;hb=13cfff28242767287408e8fd13d992bc6c6e2086;hp=32d1aab7448dd183ee6423bab1ea6425f8ec9948;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git
diff --git a/WEB-INF/templates/cf_dropdown_options.tpl b/WEB-INF/templates/cf_dropdown_options.tpl
index 32d1aab7..b920d733 100644
--- a/WEB-INF/templates/cf_dropdown_options.tpl
+++ b/WEB-INF/templates/cf_dropdown_options.tpl
@@ -2,40 +2,38 @@
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} |
+ {if $options}
+ {foreach $options as $key=>$val}
+
+ {$val|escape} |
+ ![{$i18n.label.edit}](images/icon_edit.png) |
+ ![{$i18n.label.delete}](images/icon_delete.png) |
- {/foreach}
- {/if}
+ {/foreach}
+ {/if}
-
+
- {/if}
+{/if}
|
-{$forms.dropdownOptionsForm.close}
\ No newline at end of file