X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fcf_custom_fields.tpl;h=5d254e9cc616f49cc439b9827eacbbc1ec6f494d;hb=67e827dacf08d8a55dff9118c82dd964f5da12c1;hp=54be19d2834eaa7e9485b3739912d1875b844b76;hpb=7ece3d4c1cf7c91fc469373a6b8a997fd4ea3398;p=timetracker.git diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl index 54be19d2..5d254e9c 100644 --- a/WEB-INF/templates/cf_custom_fields.tpl +++ b/WEB-INF/templates/cf_custom_fields.tpl @@ -2,18 +2,18 @@
-{if $user->canManageTeam()} +{if $user->can('manage_custom_fields')} - - + + {if $custom_fields} {foreach $custom_fields as $field} - + {if CustomFields::TYPE_TEXT == $field['type']} @@ -22,8 +22,8 @@ {/if} - - + + {/foreach} {/if}
{$i18n.label.thing_name} {$i18n.label.type} {$i18n.menu.options}{$i18n.label.edit}{$i18n.label.delete}
{$field['label']|escape}{$i18n.label.type_text}{$i18n.label.type_dropdown} {$i18n.label.configure}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}