X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fplugins.tpl;h=56868a6b779a77d3aac288ea127e335ff2f27208;hb=0713fdfd6a8ab87277836b0586bb2ba9ab4b04ec;hp=a6436bf2786e71678a5e505f2587dadac1a73cc6;hpb=6385f0cb8f380c6dea36f8c2905aaa578d54d17f;p=timetracker.git diff --git a/WEB-INF/templates/plugins.tpl b/WEB-INF/templates/plugins.tpl index a6436bf2..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,12 +77,23 @@ 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 { configureLabel.style.visibility = "hidden"; } + + var templatesCheckbox = document.getElementById("templates"); + configureLabel = document.getElementById("templates_conf"); + docLabel = document.getElementById("templates_doc"); + if (templatesCheckbox.checked){ + configureLabel.style.display = ""; + docLabel.style.display = "none"; + } else { + configureLabel.style.display = "none"; + docLabel.style.display = ""; + } } @@ -108,40 +120,54 @@ 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} - + {$i18n.label.what_is_it} {$forms.pluginsForm.timesheets.control} - + {$i18n.label.what_is_it} + + + {$forms.pluginsForm.templates.control} + {$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}