X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=089ecead4a83fe5423f46a0c338c7ec077c8e409;hb=bf5ddc4f34213ffe75d6d601c16148a3fe506455;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..089ecead 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"; + } } @@ -152,6 +160,10 @@ 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} @@ -172,8 +184,8 @@ function handlePluginCheckboxes() { {/if} {* initialize preview text *}