X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=0565d763e89a5feb92da3ced40538deac85f04ba;hb=adf05628f5388349f692bbadd5beca05f792600d;hp=ea46bec6f3799105aff5946b85c39af9123d0741;hpb=d6a5ffec0f76b9ab5b1ee4f8e69ecdb2afd7c0ff;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index ea46bec6..0565d763 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -26,11 +26,21 @@ function handleTaskRequiredCheckbox() { +{if $user->can('manage_subgroups') && $group_dropdown} + + + + +{/if} {if $user->can('manage_basic_settings')} - + + + + + @@ -38,17 +48,9 @@ function handleTaskRequiredCheckbox() { {if $user->can('manage_roles')} - + {/if} -{if $smarty.const.SUBGROUP_DEBUG == 'true'} - {if $user->can('manage_subgroups')} - - - - - {/if} -{/if} @@ -96,6 +98,10 @@ function handleTaskRequiredCheckbox() { + + + + {if $user->can('manage_advanced_settings')} @@ -105,6 +111,10 @@ function handleTaskRequiredCheckbox() { + + + + {/if} {* initialize preview text *}
{$i18n.label.group}:{$forms.groupForm.group.control}
{$i18n.label.group_name}:{$i18n.label.group_name} (*): {$forms.groupForm.group_name.control}
{$i18n.label.description}:{$forms.groupForm.description.control}
{$i18n.label.currency}: {$forms.groupForm.currency.control}
{$i18n.label.roles}:{$i18n.label.configure}{$i18n.label.configure}
{$i18n.label.subgroups}:{$i18n.label.configure}
{$i18n.label.language}: {$forms.groupForm.lang.control}{$i18n.form.group_edit.uncompleted_indicators}: {$forms.groupForm.uncompleted_indicators.control} {$i18n.label.what_is_it}
{$i18n.form.group_edit.confirm_save}:{$forms.groupForm.confirm_save.control} {$i18n.label.what_is_it}
{$i18n.label.bcc}:{$i18n.form.group_edit.allow_ip}: {$forms.groupForm.allow_ip.control} {$i18n.label.what_is_it}
{$i18n.label.required_fields}