X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=089ecead4a83fe5423f46a0c338c7ec077c8e409;hb=1686202ead3df740ac8d2d9e17d57988cd18b103;hp=6e3b81ebb1a0b03252b055bf610066b9933ba259;hpb=f2787a0b448c84ee7b28de80f6c2f04dfc7985ad;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 6e3b81eb..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} @@ -229,12 +241,10 @@ function handlePluginCheckboxes() { {$forms.profileForm.quotas.control} {$i18n.label.configure} - {if $smarty.const.WEEK_VIEW_DEBUG == 1} {$forms.profileForm.week_view.control} - {$i18n.label.configure} + {$i18n.label.configure} - {/if} {/if}