X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_dropdown_options.tpl;h=b920d733e3e9496da1ba0644d5e80ce8c5adc68f;hb=67e827dacf08d8a55dff9118c82dd964f5da12c1;hp=414c3bc27fa9a95b79a8af33f150662fe520ea14;hpb=6856837ddde5cc90ac5dad2e5d67204036ec3158;p=timetracker.git diff --git a/WEB-INF/templates/cf_dropdown_options.tpl b/WEB-INF/templates/cf_dropdown_options.tpl index 414c3bc2..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} - - + + {/foreach} {/if} @@ -29,7 +28,7 @@ @@ -38,4 +37,3 @@
{$i18n.label.thing_name}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.thing_name}
{$val|escape}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}

- +
-{$forms.dropdownOptionsForm.close}