X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=affbcc19265c0cd8b43d7cd5834172691faa0935;hb=fc92f9cd36dcaeb96da37c699a61331805d9e2fc;hp=a6436bf2786e71678a5e505f2587dadac1a73cc6;hpb=6385f0cb8f380c6dea36f8c2905aaa578d54d17f;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index a6436bf2..affbcc19 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,12 +146,18 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.approval.control} - + {$i18n.label.what_is_it} {$forms.pluginsForm.timesheets.control} +{if isTrue('TEMPLATES_DEBUG')} + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it} + +{/if}