X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=34c6fc22b69eaaa34e43162054d3e9ffe6a2ae68;hb=fe8af9a04f7170a0623915f31610c6c4c3df4058;hp=e252e32a97e80485c127ace7460b98e122e1e21a;hpb=74992a9fa9cdac627ba3c672b5799812ac974268;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index e252e32a..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,12 +144,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} - + + + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it} -{/if}