X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=34c6fc22b69eaaa34e43162054d3e9ffe6a2ae68;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=34e7ab2b28ca0c5913799e2ac09c4191f1a4b13f;hpb=89a5c1982ce74075e74a814c170e3d87563d5c47;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index 34e7ab2b..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"; + } } @@ -142,12 +152,10 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.timesheets.control} -{if isTrue('TEMPLATES_DEBUG')} {$forms.pluginsForm.templates.control} - + {$i18n.label.configure} {$i18n.label.what_is_it} -{/if}