X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=e463ca68b6dbd4464af37393ff30e4941c68f235;hb=5fdf8659516ad2b07458deba8eda234e8e07c554;hp=2da8041d8690a593c13f372df14cbe003d2fb868;hpb=11441db31dcbed7b2070e800bcb1b0e6547b86bd;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 2da8041d..e463ca68 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -53,14 +53,13 @@ function handlePluginCheckboxes() { configureLabel.style.visibility = "hidden"; } - var monthlyQuotaCheckBox = document.getElementById("monthly_quota"); - configureLabel = document.getElementById("monthly_quota_config"); - if (monthlyQuotaCheckBox.checked){ + var quotasCheckbox = document.getElementById("quotas"); + configureLabel = document.getElementById("quotas_config"); + if (quotasCheckbox.checked){ configureLabel.style.visibility = "visible"; } else { - configureLabel.style.visibility = "hidden"; + configureLabel.style.visibility = "hidden"; } - } @@ -193,8 +192,8 @@ function handlePluginCheckboxes() { {$i18n.label.configure} - {$forms.profileForm.monthly_quota.control} - {$i18n.label.configure} + {$forms.profileForm.quotas.control} + {$i18n.label.configure} {/if}