X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=0565d763e89a5feb92da3ced40538deac85f04ba;hb=352243fe0b205fa6371299c47be1bb91a7a377bb;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..0565d763 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 +26,20 @@ function handlePluginCheckboxes() { -{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))} +{if $user->can('manage_subgroups') && $group_dropdown} + + + + +{/if} +{if $user->can('manage_basic_settings')} + + + + - - + + @@ -114,7 +48,7 @@ function handlePluginCheckboxes() { {if $user->can('manage_roles')} - + {/if} @@ -137,43 +71,51 @@ function handlePluginCheckboxes() { - + - - + + - + - + - + - + - + -{if $user->can('manage_advanced_settings')} + + + + + {if $user->can('manage_advanced_settings')} - + -{/if} + + + + + {/if} {* initialize preview text *} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {/if} - +
{$i18n.label.group}:{$forms.groupForm.group.control}
{$i18n.label.group_name} (*):{$forms.groupForm.group_name.control}
{$i18n.label.group_name}:{$forms.groupForm.team_name.control}{$i18n.label.description}:{$forms.groupForm.description.control}
{$i18n.label.currency}:
{$i18n.label.roles}:{$i18n.label.configure}{$i18n.label.configure}
{$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.form.group_edit.confirm_save}:{$forms.groupForm.confirm_save.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}
{$i18n.label.required_fields}
  
{$i18n.form.profile.plugins}
 
{$forms.groupForm.charts.control}
{$forms.groupForm.clients.control} {$forms.profileForm.client_required.control}
{$forms.groupForm.invoices.control}
{$forms.groupForm.paid_status.control}
{$forms.groupForm.custom_fields.control} {$i18n.label.configure}
{$forms.groupForm.expenses.control} {$forms.profileForm.tax_expenses.control} {$i18n.label.configure}
{$forms.groupForm.notifications.control} {$i18n.label.configure}
{$forms.groupForm.locking.control} {$i18n.label.configure}
{$forms.groupForm.quotas.control} {$i18n.label.configure}
{$forms.groupForm.week_view.control} {$i18n.label.configure}
 
{$forms.groupForm.btn_save.control}{$forms.groupForm.btn_save.control} {$forms.groupForm.btn_delete.control}