X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=2da8041d8690a593c13f372df14cbe003d2fb868;hb=fcb4a368c1de2e4c086e64064c00f404efaef617;hp=8d68c3e49e2161717bc12feff88d147244cc5468;hpb=55c8f6a2bce9518c28337b18823b8300d1875ab8;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 8d68c3e4..2da8041d 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -52,6 +52,15 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var monthlyQuotaCheckBox = document.getElementById("monthly_quota"); + configureLabel = document.getElementById("monthly_quota_config"); + if (monthlyQuotaCheckBox.checked){ + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } + } @@ -181,7 +190,11 @@ function handlePluginCheckboxes() { {$forms.profileForm.locking.control} - {$i18n.label.configure} + {$i18n.label.configure} + + + {$forms.profileForm.monthly_quota.control} + {$i18n.label.configure} {/if}