X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_dropdown_options.tpl;h=f9dfcd0d723a17afe6ef7235741c0be409479060;hb=54d64e3d8f517e65577aa47fb6e38114e42f4970;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..f9dfcd0d 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} - - + {if $options} + {foreach $options as $key=>$val} + + - {/foreach} - {/if} + {/foreach} + {/if}
{$i18n.label.thing_name} {$i18n.label.edit} {$i18n.label.delete}
{$val|escape:'html'}
{$val|escape} {$i18n.label.edit} {$i18n.label.delete}
- +

- +
- {/if} +{/if}
-{$forms.dropdownOptionsForm.close} \ No newline at end of file