X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=dd059114cdb50dca9c99fce62660b1759df0f4c1;hb=6968ef66a0264c35eff9bdd8ed92af48b34b8d19;hp=5a5711b0717aa4264e99259a31e1156bfc331a23;hpb=167e70e68597a70269edea5c5af9b186c489d57f;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 5a5711b0..dd059114 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -1,4 +1,6 @@ {$forms.groupForm.open} -{if $user->canManageTeam()} +{if $user->can('manage_basic_settings')} {include file="datetime_format_preview.tpl"} {/if} @@ -102,10 +112,10 @@ function handlePluginCheckboxes() { -{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))} +{if $user->can('manage_basic_settings')} - + @@ -137,43 +147,43 @@ function handlePluginCheckboxes() { - + - - + + - + - + - + - + - + -{if $user->can('manage_advanced_settings')} + {if $user->can('manage_advanced_settings')} - + -{/if} + {/if} {* initialize preview text *}
{$i18n.label.group_name}:{$forms.groupForm.team_name.control}{$forms.groupForm.group_name.control}
{$i18n.label.currency}:{$forms.groupForm.start_week.control}
{$i18n.form.profile.show_holidays}:{$i18n.form.group_edit.show_holidays}: {$forms.groupForm.show_holidays.control} {$i18n.label.what_is_it}
{$i18n.form.profile.tracking_mode}:{$forms.groupForm.tracking_mode.control} {$forms.profileForm.task_required.control} {$i18n.form.group_edit.tracking_mode}:{$forms.groupForm.tracking_mode.control} {$forms.groupForm.task_required.control}
{$i18n.form.profile.record_type}:{$i18n.form.group_edit.record_type}: {$forms.groupForm.record_type.control}
{$i18n.form.profile.punch_mode}:{$i18n.form.group_edit.punch_mode}: {$forms.groupForm.punch_mode.control} {$i18n.label.what_is_it}
{$i18n.form.profile.allow_overlap}:{$i18n.form.group_edit.allow_overlap}: {$forms.groupForm.allow_overlap.control} {$i18n.label.what_is_it}
{$i18n.form.profile.future_entries}:{$i18n.form.group_edit.future_entries}: {$forms.groupForm.future_entries.control} {$i18n.label.what_is_it}
{$i18n.form.profile.uncompleted_indicators}:{$i18n.form.group_edit.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}:{$i18n.form.group_edit.allow_ip}: {$forms.groupForm.allow_ip.control} {$i18n.label.what_is_it}