X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=d3f90865336989168a3606f8ce34e1bcafd07c2e;hb=dda0cf3dc9763aca45c0a6cd53715db11941aa94;hp=e252e32a97e80485c127ace7460b98e122e1e21a;hpb=74992a9fa9cdac627ba3c672b5799812ac974268;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index e252e32a..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 { @@ -82,6 +83,17 @@ function handlePluginCheckboxes() { } else { configureLabel.style.visibility = "hidden"; } + + var templatesCheckbox = document.getElementById("templates"); + configureLabel = document.getElementById("templates_config"); + docLabel = document.getElementById("templates_doc"); + if (templatesCheckbox.checked){ + configureLabel.style.display = ""; + docLabel.style.display = "none"; + } else { + configureLabel.style.display = "none"; + docLabel.style.display = ""; + } } @@ -134,12 +146,18 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.work_units.control} {$i18n.label.configure} -{if isTrue('TIMESHEET_DEBUG')} + + {$forms.pluginsForm.approval.control} + {$i18n.label.what_is_it} + {$forms.pluginsForm.timesheets.control} - + {$i18n.label.what_is_it} + + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it} -{/if}