X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=4967259e0bb8109e4864a661ed14f6b0398c2390;hb=4f0f87f88dc93f04a9d1fa777c686c348b0875b0;hp=542148ef516a5cc49b756e7e9f949d0b6dd575e3;hpb=50e5a1ac3ca2b64b3a52c4f9a8782cac56a83f58;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 542148ef..4967259e 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"; + } } @@ -142,11 +150,11 @@ 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}: @@ -172,8 +180,8 @@ function handlePluginCheckboxes() { {/if} {* initialize preview text *}