From 9570793f68d44179f9b7e0b264e5fbe0ca839c51 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 31 Jan 2016 11:05:47 -0500 Subject: Add a "Me" button to assignee form element --- app/Template/board/popover_assignee.php | 3 +-- app/Template/task_creation/form.php | 3 +-- app/Template/task_modification/edit_task.php | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'app/Template') diff --git a/app/Template/board/popover_assignee.php b/app/Template/board/popover_assignee.php index e86ba420..8db95323 100644 --- a/app/Template/board/popover_assignee.php +++ b/app/Template/board/popover_assignee.php @@ -9,8 +9,7 @@ form->hidden('id', $values) ?> form->hidden('project_id', $values) ?> - form->label(t('Assignee'), 'owner_id') ?> - form->select('owner_id', $users_list, $values, array(), array('autofocus')) ?>
+ task->selectAssignee($users_list, $values, array(), array('autofocus')) ?>
diff --git a/app/Template/task_creation/form.php b/app/Template/task_creation/form.php index 230706f8..a814219b 100644 --- a/app/Template/task_creation/form.php +++ b/app/Template/task_creation/form.php @@ -48,8 +48,7 @@
form->hidden('project_id', $values) ?> - form->label(t('Assignee'), 'owner_id') ?> - form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?> + task->selectAssignee($users_list, $values, $errors) ?> form->label(t('Category'), 'category_id') ?> form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?> diff --git a/app/Template/task_modification/edit_task.php b/app/Template/task_modification/edit_task.php index f825f4a4..1daa318c 100644 --- a/app/Template/task_modification/edit_task.php +++ b/app/Template/task_modification/edit_task.php @@ -44,8 +44,7 @@ form->hidden('id', $values) ?> form->hidden('project_id', $values) ?> - form->label(t('Assignee'), 'owner_id') ?> - form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?> + task->selectAssignee($users_list, $values, $errors) ?> form->label(t('Category'), 'category_id') ?> form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?> -- cgit v1.2.3