From: Nik Okuntseff Date: Mon, 11 Mar 2019 17:41:19 +0000 (+0000) Subject: Improved plugins.tpl to hide unnecessary label. X-Git-Tag: timetracker_1.19-1~177 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6aeed0ef52969ccf9be174e8a732f98be0301796;p=timetracker.git Improved plugins.tpl to hide unnecessary label. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 90c62d2a..c2cdd155 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
- - +
 Anuko Time Tracker 1.18.58.4863 | Copyright © Anuko | +  Anuko Time Tracker 1.18.58.4864 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index 34c6fc22..2a7b08d9 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 = ""; } } @@ -154,7 +156,7 @@ function handlePluginCheckboxes() {
{$forms.pluginsForm.templates.control} {$i18n.label.configure} {$i18n.label.what_is_it} {$i18n.label.configure} {$i18n.label.what_is_it}