X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=8c9cb8d58e45d344f2e5d86c003bd3e4f9071599;hb=cb8e3de960b758147b34d8323054e7de70548619;hp=2da8041d8690a593c13f372df14cbe003d2fb868;hpb=b76e427286701104c84a869461ceb7339b1b943a;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 2da8041d..8c9cb8d5 100644 --- a/WEB-INF/templates/profile_edit.tpl +++ b/WEB-INF/templates/profile_edit.tpl @@ -28,9 +28,15 @@ function handlePluginCheckboxes() { taxCheckbox.style.visibility = "hidden"; taxLabel.style.visibility = "hidden"; } + var configureLabel = document.getElementById("expenses_config"); + if (expensesCheckbox.checked) { + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } var customFieldsCheckbox = document.getElementById("custom_fields"); - var configureLabel = document.getElementById("cf_config"); + configureLabel = document.getElementById("cf_config"); if (customFieldsCheckbox.checked) { configureLabel.style.visibility = "visible"; } else { @@ -53,14 +59,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"; } - } @@ -140,6 +145,10 @@ function handlePluginCheckboxes() { {$i18n.form.profile.record_type}: {$forms.profileForm.record_type.control} + + {$i18n.form.profile.uncompleted_indicators}: + {$forms.profileForm.uncompleted_indicators.control} + {* initialize preview text *}