X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprofile_edit.tpl;h=8c9cb8d58e45d344f2e5d86c003bd3e4f9071599;hb=cd5e077ecb497431decde4835138b877d63b261c;hp=5a90937bc6cebe43bf14273b99071fd52521cbb8;hpb=a781da5661a1932521e0d1feb4be340b97edce9a;p=timetracker.git diff --git a/WEB-INF/templates/profile_edit.tpl b/WEB-INF/templates/profile_edit.tpl index 5a90937b..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 { @@ -44,6 +50,22 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var lockingCheckbox = document.getElementById("locking"); + configureLabel = document.getElementById("locking_config"); + if (lockingCheckbox.checked) { + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } + + var quotasCheckbox = document.getElementById("quotas"); + configureLabel = document.getElementById("quotas_config"); + if (quotasCheckbox.checked){ + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } } @@ -96,10 +118,6 @@ function handlePluginCheckboxes() { {$i18n.label.currency}: {$forms.profileForm.currency.control} - - {$i18n.label.lock_interval}: - {$forms.profileForm.lock_interval.control} - {$i18n.label.language}: {$forms.profileForm.lang.control} @@ -127,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 *}