X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=bb83d3a3eae75e934d2c5d05a96bc509a1fb4a7a;hb=2469578bc42cdad7caf9ca05855726be8e953fbc;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..bb83d3a3 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -26,11 +26,23 @@ function handleTaskRequiredCheckbox() { +{if isTrue($smarty.const.SUBGROUP_DEBUG)} +{if $user->can('manage_subgroups') && $group_dropdown} + + + + +{/if} +{/if} {if $user->can('manage_basic_settings')} - + + + + + @@ -38,17 +50,9 @@ function handleTaskRequiredCheckbox() { {if $user->can('manage_roles')} - - - {/if} -{if $smarty.const.SUBGROUP_DEBUG == 'true'} - {if $user->can('manage_subgroups')} - - - + {/if} -{/if} @@ -96,6 +100,10 @@ function handleTaskRequiredCheckbox() { + + + + {if $user->can('manage_advanced_settings')} @@ -105,6 +113,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.subgroups}:{$i18n.label.configure}{$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}