X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=5bb5080879f155ac3e6ab5f220d03e91f86c703e;hb=ad98b13400fdc2fa2299a22c9bd54c4cd27960c3;hp=4a05bb0ad87113ea68638b54438c426863bb00d0;hpb=7d8f23aae5b4dbcff5a3dc565c4418acd7df30ea;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 4a05bb0a..5bb50808 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -1,4 +1,19 @@ @@ -121,7 +144,7 @@ function handlePluginCheckboxes() { {$i18n.label.required_fields} -{if $user->canManageTeam()} +{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))}   @@ -133,6 +156,12 @@ function handlePluginCheckboxes() { {$i18n.label.currency}: {$forms.profileForm.currency.control} + {if defined(DEBUG_ROLES)} + + {$i18n.label.roles}: + {$forms.profileForm.roles.control} {$i18n.label.configure} {$i18n.label.what_is_it} + + {/if} {$i18n.label.language}: {$forms.profileForm.lang.control} @@ -152,17 +181,33 @@ function handlePluginCheckboxes() { {$i18n.label.week_start}: {$forms.profileForm.start_week.control} + + {$i18n.form.profile.show_holidays}: + {$forms.profileForm.show_holidays.control} {$i18n.label.what_is_it} + {$i18n.form.profile.tracking_mode}: - {$forms.profileForm.tracking_mode.control} {$forms.profileForm.task_required.control} + {$forms.profileForm.tracking_mode.control} {$forms.profileForm.task_required.control} {$i18n.form.profile.record_type}: {$forms.profileForm.record_type.control} + + {$i18n.form.profile.punch_mode}: + {$forms.profileForm.punch_mode.control} {$i18n.label.what_is_it} + + + {$i18n.form.profile.allow_overlap}: + {$forms.profileForm.allow_overlap.control} {$i18n.label.what_is_it} + + + {$i18n.form.profile.future_entries}: + {$forms.profileForm.future_entries.control} {$i18n.label.what_is_it} + {$i18n.form.profile.uncompleted_indicators}: - {$forms.profileForm.uncompleted_indicators.control} + {$forms.profileForm.uncompleted_indicators.control} {$i18n.label.what_is_it} {if $user->isManager()} @@ -172,8 +217,8 @@ function handlePluginCheckboxes() { {/if} {* initialize preview text *}