X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=5d254e9cc616f49cc439b9827eacbbc1ec6f494d;hb=45ca7d2258832cb0d2465eb16dd646d925458106;hp=51e83769c3c8f163edff35151941280978df8386;hpb=6856837ddde5cc90ac5dad2e5d67204036ec3158;p=timetracker.git diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl index 51e83769..5d254e9c 100644 --- a/WEB-INF/templates/cf_custom_fields.tpl +++ b/WEB-INF/templates/cf_custom_fields.tpl @@ -2,14 +2,14 @@
-{if $user->canManageTeam()} +{if $user->can('manage_custom_fields')} - - + + {if $custom_fields} {foreach $custom_fields as $field} @@ -22,8 +22,8 @@ {/if} - - + + {/foreach} {/if}
{$i18n.label.thing_name} {$i18n.label.type} {$i18n.menu.options}{$i18n.label.edit}{$i18n.label.delete}
{$i18n.label.type_dropdown} {$i18n.label.configure}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}