X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=34c6fc22b69eaaa34e43162054d3e9ffe6a2ae68;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=ce0cd52abc26e7a5c778c056a54658cafc2debec;hpb=af80607509fae805aae37ba966f24aa50986fe9d;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index ce0cd52a..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"; + } } @@ -134,18 +144,18 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.work_units.control} {$i18n.label.configure} -{if isTrue('APPROVAL_DEBUG')} {$forms.pluginsForm.approval.control} - + {$i18n.label.what_is_it} -{/if} -{if isTrue('TIMESHEET_DEBUG')} {$forms.pluginsForm.timesheets.control} -{/if} + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it} +