X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=d3f90865336989168a3606f8ce34e1bcafd07c2e;hb=dda0cf3dc9763aca45c0a6cd53715db11941aa94;hp=11514d16a48bd1ef3d8e37d3f6d52218e3994ec2;hpb=2469578bc42cdad7caf9ca05855726be8e953fbc;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index 11514d16..d3f90865 100644 --- a/WEB-INF/templates/plugins.tpl +++ b/WEB-INF/templates/plugins.tpl @@ -29,6 +29,7 @@ function handlePluginCheckboxes() { taxLabel.style.visibility = "hidden"; } var configureLabel = document.getElementById("expenses_config"); + var docLabel = null; if (expensesCheckbox.checked) { configureLabel.style.visibility = "visible"; } else { @@ -82,6 +83,17 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var templatesCheckbox = document.getElementById("templates"); + configureLabel = document.getElementById("templates_config"); + docLabel = document.getElementById("templates_doc"); + if (templatesCheckbox.checked){ + configureLabel.style.display = ""; + docLabel.style.display = "none"; + } else { + configureLabel.style.display = "none"; + docLabel.style.display = ""; + } } @@ -132,7 +144,19 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.work_units.control} - {$i18n.label.configure} + {$i18n.label.configure} + + + {$forms.pluginsForm.approval.control} + {$i18n.label.what_is_it} + + + {$forms.pluginsForm.timesheets.control} + {$i18n.label.what_is_it} + + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it}