X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=ce4a6bf203c4b2b2e2e55e8c1f6f1ed78a997932;hb=9afadaf6b4d3ea192021530cce4939226c7c310f;hp=c4e0f58194aa787dfd3d1b0f78ba3090e17e7eb6;hpb=eb14c12d3be2cd31e20988b6abf7585f6af0b34d;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index c4e0f581..ce4a6bf2 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -81,6 +81,14 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var weekViewCheckbox = document.getElementById("week_view"); + configureLabel = document.getElementById("week_view_config"); + if (weekViewCheckbox.checked){ + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } } @@ -121,7 +129,7 @@ function handlePluginCheckboxes() { {$i18n.label.required_fields} -{if $user->canManageTeam()} +{if $user->isManager() || ($user->canManageTeam() && !defined(MANAGER_ONLY_TEAM_SETTINGS))}   @@ -142,27 +150,43 @@ function handlePluginCheckboxes() { {$forms.profileForm.decimal_mark.control}   {$i18n.label.date_format}: - {$forms.profileForm.format_date.control}   + {$forms.profileForm.date_format.control}   {$i18n.label.time_format}: - {$forms.profileForm.format_time.control}   + {$forms.profileForm.time_format.control}   {$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_in_mode}: + {$forms.profileForm.punch_in_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 +196,8 @@ function handlePluginCheckboxes() { {/if} {* initialize preview text *}