From f7ec54ba04c4899a9ec343ef8c1c96109feeabb7 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Fri, 20 Jul 2018 16:55:45 +0000 Subject: [PATCH] Removed conditional include of the Work units plugin to facilitate user testing. --- WEB-INF/templates/footer.tpl | 2 +- WEB-INF/templates/group_edit.tpl | 2 -- group_edit.php | 4 +--- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 3ad220b3..95dec628 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
- - {if defined('WORK_UNITS_DEBUG')} - {/if} {/if} diff --git a/group_edit.php b/group_edit.php index a5a85d1d..8c7012a5 100644 --- a/group_edit.php +++ b/group_edit.php @@ -209,9 +209,7 @@ $form->addInput(array('type'=>'checkbox','name'=>'notifications','value'=>$cl_no $form->addInput(array('type'=>'checkbox','name'=>'locking','value'=>$cl_locking,'onchange'=>'handlePluginCheckboxes()')); $form->addInput(array('type'=>'checkbox','name'=>'quotas','value'=>$cl_quotas,'onchange'=>'handlePluginCheckboxes()')); $form->addInput(array('type'=>'checkbox','name'=>'week_view','value'=>$cl_week_view,'onchange'=>'handlePluginCheckboxes()')); -if (defined('WORK_UNITS_DEBUG')) { - $form->addInput(array('type'=>'checkbox','name'=>'work_units','value'=>$cl_work_units,'onchange'=>'handlePluginCheckboxes()')); -} +$form->addInput(array('type'=>'checkbox','name'=>'work_units','value'=>$cl_work_units,'onchange'=>'handlePluginCheckboxes()')); $form->addInput(array('type'=>'submit','name'=>'btn_save','value'=>$i18n->get('button.save'))); if ($user->can('delete_group')) $form->addInput(array('type'=>'submit','name'=>'btn_delete','value'=>$i18n->get('button.delete'))); -- 2.20.1
 Anuko Time Tracker 1.17.92.4276 | Copyright © Anuko | +  Anuko Time Tracker 1.17.92.4277 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/group_edit.tpl b/WEB-INF/templates/group_edit.tpl index dd059114..db66201c 100644 --- a/WEB-INF/templates/group_edit.tpl +++ b/WEB-INF/templates/group_edit.tpl @@ -247,12 +247,10 @@ function handlePluginCheckboxes() { {$forms.groupForm.week_view.control} {$i18n.label.configure}
{$forms.groupForm.work_units.control} {$i18n.label.configure}