X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fcf_dropdown_options.tpl;h=ba15a416ff10ae6aa3bf7d5f948f8984a2f809f6;hb=a4fd787ff4452eb1a7e3d0c0a24d8fcebd7b8b43;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..ba15a416 100644
--- a/WEB-INF/templates/cf_dropdown_options.tpl
+++ b/WEB-INF/templates/cf_dropdown_options.tpl
@@ -6,36 +6,36 @@
- {if $user->canManageTeam()}
+{if $user->can('manage_custom_fields')}
- {if $options}
- {foreach $options as $key=>$val}
-
- {$val|escape:'html'} |
+ {if $options}
+ {foreach $options as $key=>$val}
+
+ {$val|escape} |
{$i18n.label.edit} |
{$i18n.label.delete} |
- {/foreach}
- {/if}
+ {/foreach}
+ {/if}
-
+
- {/if}
+{/if}
|
-{$forms.dropdownOptionsForm.close}
\ No newline at end of file
+{$forms.dropdownOptionsForm.close}