X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=7cb8d2e69004d2a6d8f6f53b8e43e05c27d0b258;hb=ea80612af0054c2abdc9c2b422fe3f1038f4b2c0;hp=9b341b6743d0c50680fa7df81e0415658680185e;hpb=1955bb54c5569f779a16eb3b8de9b4684b5f11b4;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 9b341b67..7cb8d2e6 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -94,7 +94,7 @@ function handlePluginCheckboxes() { {$forms.groupForm.open} -{if $user->canManageTeam()} +{if $user->can('manage_basic_settings')} {include file="datetime_format_preview.tpl"} {/if} @@ -102,10 +102,10 @@ function handlePluginCheckboxes() { -{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))} +{if $user->can('manage_basic_settings')} - - + + @@ -142,7 +142,7 @@ function handlePluginCheckboxes() { - + @@ -164,12 +164,16 @@ function handlePluginCheckboxes() { -{if $user->isManager()} + {if $user->can('manage_advanced_settings')} -{/if} + + + + + {/if} {* initialize preview text *}
{$i18n.label.team_name}:{$forms.groupForm.team_name.control}{$i18n.label.group_name}:{$forms.groupForm.group_name.control}
{$i18n.label.currency}:
{$i18n.form.profile.tracking_mode}:{$forms.groupForm.tracking_mode.control} {$forms.profileForm.task_required.control} {$forms.groupForm.tracking_mode.control} {$forms.groupForm.task_required.control}
{$i18n.form.profile.record_type}:{$i18n.form.profile.uncompleted_indicators}: {$forms.groupForm.uncompleted_indicators.control} {$i18n.label.what_is_it}
{$i18n.label.bcc}: {$forms.groupForm.bcc_email.control} {$i18n.label.what_is_it}
{$i18n.form.profile.allow_ip}:{$forms.groupForm.allow_ip.control} {$i18n.label.what_is_it}