X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=089ecead4a83fe5423f46a0c338c7ec077c8e409;hb=1686202ead3df740ac8d2d9e17d57988cd18b103;hp=dc4f5a648f0cf06a835520516993549430d29148;hpb=dbbd522d3d3ce855bb8fce11bd1b6f411e5975b3;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index dc4f5a64..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() {