From 4b58058b15b14c81cb8d7dae99c9ebe0462afe62 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Thu, 14 Mar 2019 15:26:13 +0000 Subject: [PATCH] Cosmetic refactoring in plugins.tpl. --- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/plugins.tpl | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index ed336fd0..95188008 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
- - + - + - + - + - + - + - + @@ -156,7 +156,7 @@ function handlePluginCheckboxes() { - + -- 2.20.1
 Anuko Time Tracker 1.18.58.4867 | Copyright © Anuko | +  Anuko Time Tracker 1.18.58.4868 | 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 d3f90865..18352252 100644 --- a/WEB-INF/templates/plugins.tpl +++ b/WEB-INF/templates/plugins.tpl @@ -28,7 +28,7 @@ function handlePluginCheckboxes() { taxCheckbox.style.visibility = "hidden"; taxLabel.style.visibility = "hidden"; } - var configureLabel = document.getElementById("expenses_config"); + var configureLabel = document.getElementById("expenses_conf"); var docLabel = null; if (expensesCheckbox.checked) { configureLabel.style.visibility = "visible"; @@ -37,7 +37,7 @@ function handlePluginCheckboxes() { } var customFieldsCheckbox = document.getElementById("custom_fields"); - configureLabel = document.getElementById("cf_config"); + configureLabel = document.getElementById("cf_conf"); if (customFieldsCheckbox.checked) { configureLabel.style.visibility = "visible"; } else { @@ -45,7 +45,7 @@ function handlePluginCheckboxes() { } var notificationsCheckbox = document.getElementById("notifications"); - configureLabel = document.getElementById("notifications_config"); + configureLabel = document.getElementById("notifications_conf"); if (notificationsCheckbox.checked) { configureLabel.style.visibility = "visible"; } else { @@ -53,7 +53,7 @@ function handlePluginCheckboxes() { } var lockingCheckbox = document.getElementById("locking"); - configureLabel = document.getElementById("locking_config"); + configureLabel = document.getElementById("locking_conf"); if (lockingCheckbox.checked) { configureLabel.style.visibility = "visible"; } else { @@ -61,7 +61,7 @@ function handlePluginCheckboxes() { } var quotasCheckbox = document.getElementById("quotas"); - configureLabel = document.getElementById("quotas_config"); + configureLabel = document.getElementById("quotas_conf"); if (quotasCheckbox.checked){ configureLabel.style.visibility = "visible"; } else { @@ -69,7 +69,7 @@ function handlePluginCheckboxes() { } var weekViewCheckbox = document.getElementById("week_view"); - configureLabel = document.getElementById("week_view_config"); + configureLabel = document.getElementById("week_view_conf"); if (weekViewCheckbox.checked){ configureLabel.style.visibility = "visible"; } else { @@ -77,7 +77,7 @@ function handlePluginCheckboxes() { } var workUnitsCheckbox = document.getElementById("work_units"); - configureLabel = document.getElementById("work_units_config"); + configureLabel = document.getElementById("work_units_conf"); if (workUnitsCheckbox.checked){ configureLabel.style.visibility = "visible"; } else { @@ -85,7 +85,7 @@ function handlePluginCheckboxes() { } var templatesCheckbox = document.getElementById("templates"); - configureLabel = document.getElementById("templates_config"); + configureLabel = document.getElementById("templates_conf"); docLabel = document.getElementById("templates_doc"); if (templatesCheckbox.checked){ configureLabel.style.display = ""; @@ -120,31 +120,31 @@ function handlePluginCheckboxes() {
{$forms.pluginsForm.custom_fields.control} {$i18n.label.configure} {$i18n.label.configure}
{$forms.pluginsForm.expenses.control} {$forms.pluginsForm.tax_expenses.control} {$i18n.label.configure} {$forms.pluginsForm.tax_expenses.control} {$i18n.label.configure}
{$forms.pluginsForm.notifications.control} {if $user_exists}{$i18n.label.configure}{/if} {if $user_exists}{$i18n.label.configure}{/if}
{$forms.pluginsForm.locking.control} {$i18n.label.configure} {$i18n.label.configure}
{$forms.pluginsForm.quotas.control} {$i18n.label.configure} {$i18n.label.configure}
{$forms.pluginsForm.week_view.control} {$i18n.label.configure} {$i18n.label.configure}
{$forms.pluginsForm.work_units.control} {$i18n.label.configure} {$i18n.label.configure}
{$forms.pluginsForm.approval.control}
{$forms.pluginsForm.templates.control} {$i18n.label.configure} {$i18n.label.what_is_it} {$i18n.label.configure} {$i18n.label.what_is_it}