X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=affbcc19265c0cd8b43d7cd5834172691faa0935;hb=fc92f9cd36dcaeb96da37c699a61331805d9e2fc;hp=9ab38ab9139cee9df980e62f435b83ea67eb7a7c;hpb=bbf886e62dc4746fdbae813cfb80536228f77626;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index 9ab38ab9..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"; + } } @@ -134,10 +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} - + + +{if isTrue('TEMPLATES_DEBUG')} + + {$forms.pluginsForm.templates.control} + {$i18n.label.configure} {$i18n.label.what_is_it} {/if}