X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=e463ca68b6dbd4464af37393ff30e4941c68f235;hb=7e262c715b1aa98a098de900633a17bea4250ffc;hp=8c8e27aef8a597da8b3e47db02b99db527050b77;hpb=3b47350624ad38704ad23a2750ea9d99b01e9e0d;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 8c8e27ae..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}