X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=ea46bec6f3799105aff5946b85c39af9123d0741;hb=d6a5ffec0f76b9ab5b1ee4f8e69ecdb2afd7c0ff;hp=4dedafdf17ebf06fb60ad627d985205b3159b216;hpb=b3ed433e388b83e055958b395ebc0e08172cd079;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 4dedafdf..ea46bec6 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,10 @@ function handlePluginCheckboxes() { -{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))} +{if $user->can('manage_basic_settings')} - - + + @@ -117,6 +41,14 @@ function handlePluginCheckboxes() { {/if} +{if $smarty.const.SUBGROUP_DEBUG == 'true'} + {if $user->can('manage_subgroups')} + + + + + {/if} +{/if} @@ -137,43 +69,43 @@ function handlePluginCheckboxes() { - + - - + + - + - + - + - + - + -{if $user->can('manage_advanced_settings')} + {if $user->can('manage_advanced_settings')} - + -{/if} + {/if} {* initialize preview text *} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {/if} - +
{$i18n.label.team_name}:{$forms.groupForm.team_name.control}{$i18n.label.group_name}:{$forms.groupForm.group_name.control}
{$i18n.label.currency}:{$i18n.label.configure}
{$i18n.label.subgroups}:{$i18n.label.configure}
{$i18n.label.language}: {$forms.groupForm.lang.control}{$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}
  
{$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}