X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=a68e28eb8d4c6766b919f2f5247a6c6a069fda52;hb=9819bb63bec83c13dd40ebb2ffc24df5fcfeda33;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..a68e28eb 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')} + + + + + + + @@ -137,39 +71,59 @@ function handlePluginCheckboxes() { - + + + + + - - + + + + + + - + - + - + - + - + -{if $user->isManager()} + + + + + {if $user->can('manage_advanced_settings')} -{/if} + + + + + + + + + {/if} {* initialize preview text *} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {/if} - +
{$i18n.label.team_name}:{$forms.groupForm.team_name.control}{$i18n.label.group}:{$forms.groupForm.group.control}
{$i18n.label.group_name} (*):{$forms.groupForm.group_name.control}
{$i18n.label.description}:{$forms.groupForm.description.control}
{$i18n.label.currency}:{$forms.groupForm.start_week.control}
{$i18n.form.profile.show_holidays}:{$i18n.form.group_edit.display_options}:{$i18n.label.configure}
{$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.holidays}:{$forms.groupForm.holidays.control} {$i18n.label.what_is_it}
{$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.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}