X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=34c6fc22b69eaaa34e43162054d3e9ffe6a2ae68;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=5c5941c3edc093b36c766449d0a18f79a4c7591b;hpb=c14bc01ae221ece2c5b78c9c39b4902cb25154d6;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index 5c5941c3..34c6fc22 100644 --- a/WEB-INF/templates/plugins.tpl +++ b/WEB-INF/templates/plugins.tpl @@ -82,6 +82,16 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var templatesCheckbox = document.getElementById("templates"); + configureLabel = document.getElementById("templates_config"); + if (templatesCheckbox.checked){ + configureLabel.style.display = ""; + //configureLabel.style.visibility = "visible"; + } else { + configureLabel.style.display = "none"; + //configureLabel.style.visibility = "hidden"; + } } @@ -136,14 +146,16 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.approval.control} - + {$i18n.label.what_is_it} -{if isTrue('TIMESHEET_DEBUG')} {$forms.pluginsForm.timesheets.control} -{/if} + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it} +