X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=56868a6b779a77d3aac288ea127e335ff2f27208;hb=67e827dacf08d8a55dff9118c82dd964f5da12c1;hp=34c6fc22b69eaaa34e43162054d3e9ffe6a2ae68;hpb=fe8af9a04f7170a0623915f31610c6c4c3df4058;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index 34c6fc22..56868a6b 100644 --- a/WEB-INF/templates/plugins.tpl +++ b/WEB-INF/templates/plugins.tpl @@ -28,7 +28,8 @@ 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"; } else { @@ -36,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 { @@ -44,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 { @@ -52,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 { @@ -60,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 { @@ -68,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 { @@ -76,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 { @@ -84,13 +85,14 @@ 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 = ""; - //configureLabel.style.visibility = "visible"; + docLabel.style.display = "none"; } else { configureLabel.style.display = "none"; - //configureLabel.style.visibility = "hidden"; + docLabel.style.display = ""; } } @@ -118,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} @@ -150,12 +152,22 @@ function handlePluginCheckboxes() { {$forms.pluginsForm.timesheets.control} - + {$i18n.label.what_is_it} {$forms.pluginsForm.templates.control} - {$i18n.label.configure} {$i18n.label.what_is_it} + {$i18n.label.configure} {$i18n.label.what_is_it} + + {$forms.pluginsForm.attachments.control} + {$i18n.label.what_is_it} + +{if isTrue('WORK_DEBUG')} + + {$forms.pluginsForm.work.control} + {$i18n.label.what_is_it} + +{/if}