X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fgroup_edit.tpl;h=dd059114cdb50dca9c99fce62660b1759df0f4c1;hb=99041558bf625b082fc5058a93e1bd2634c2c9d2;hp=144971b0396ceed6e62f8dbaf0592eca1d51f423;hpb=9eb2c5f542ed33fc1aba2e7392a5a29181cbfd1a;p=timetracker.git diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index 144971b0..dd059114 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"; + } } @@ -239,6 +247,12 @@ function handlePluginCheckboxes() { {$forms.groupForm.week_view.control} {$i18n.label.configure} + {if defined('WORK_UNITS_DEBUG')} + + {$forms.groupForm.work_units.control} + {$i18n.label.configure} + + {/if} {/if}