X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=089ecead4a83fe5423f46a0c338c7ec077c8e409;hb=a94cf5b21ee9cc76ff7dda42563444011800f462;hp=aea6773e6125f5c43eb331e987965524bb20a799;hpb=c51ac80bc7cbb4b2f77b75cd4120b62675aa7014;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index aea6773e..089ecead 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -19,7 +19,7 @@ function handlePluginCheckboxes() { var clientsCheckbox = document.getElementById("clients"); var invoicesCheckbox = document.getElementById("invoices"); var requiredCheckbox = document.getElementById("client_required"); - var requiredLabel = document.getElementById("required_label"); + var requiredLabel = document.getElementById("client_required_label"); if (clientsCheckbox.checked) { requiredCheckbox.style.visibility = "visible"; requiredLabel.style.visibility = "visible"; @@ -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"; + } } @@ -142,16 +150,20 @@ 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} @@ -164,11 +176,16 @@ function handlePluginCheckboxes() { {$i18n.form.profile.uncompleted_indicators}: {$forms.profileForm.uncompleted_indicators.control} - +{if $user->isManager()} + + {$i18n.label.bcc}: + {$forms.profileForm.bcc_email.control} {$i18n.label.what_is_it} + +{/if} {* initialize preview text *}