X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=db66201c57cbef885f14a2618e8ff1ab0e1ceb77;hb=47676f16efdde0b36a4ed09d2ab0476584aeb2a6;hp=cec44974267196ff9abf29fc599cb1ddc38c3727;hpb=95d4442c1517b0d9e76081fd901a600e45e9fbea;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index cec44974..db66201c 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -91,6 +91,14 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var workUnitsCheckbox = document.getElementById("work_units"); + configureLabel = document.getElementById("work_units_config"); + if (workUnitsCheckbox.checked){ + configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.visibility = "hidden"; + } } @@ -205,7 +213,7 @@ function handlePluginCheckboxes() { {$forms.groupForm.clients.control} - {$forms.profileForm.client_required.control} + {$forms.groupForm.client_required.control} {$forms.groupForm.invoices.control} @@ -221,7 +229,7 @@ function handlePluginCheckboxes() { {$forms.groupForm.expenses.control} - {$forms.profileForm.tax_expenses.control} {$i18n.label.configure} + {$forms.groupForm.tax_expenses.control} {$i18n.label.configure} {$forms.groupForm.notifications.control} @@ -239,6 +247,10 @@ function handlePluginCheckboxes() { {$forms.groupForm.week_view.control} {$i18n.label.configure} + + {$forms.groupForm.work_units.control} + {$i18n.label.configure} + {/if}