X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=d3f90865336989168a3606f8ce34e1bcafd07c2e;hb=dda0cf3dc9763aca45c0a6cd53715db11941aa94;hp=affbcc19265c0cd8b43d7cd5834172691faa0935;hpb=98f5feaaf9bbf59fcf6e797c6c05978ef13074f6;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index affbcc19..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 { @@ -85,12 +86,13 @@ function handlePluginCheckboxes() { var templatesCheckbox = document.getElementById("templates"); configureLabel = document.getElementById("templates_config"); + docLabel = document.getElementById("templates_doc"); if (templatesCheckbox.checked){ configureLabel.style.display = ""; - //configureLabel.style.visibility = "visible"; + docLabel.style.display = "none"; } else { configureLabel.style.display = "none"; - //configureLabel.style.visibility = "hidden"; + docLabel.style.display = ""; } } @@ -150,14 +152,12 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.timesheets.control} - + {$i18n.label.what_is_it} -{if isTrue('TEMPLATES_DEBUG')} {$forms.pluginsForm.templates.control} - {$i18n.label.configure} {$i18n.label.what_is_it} + {$i18n.label.configure} {$i18n.label.what_is_it} -{/if}