diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-31 11:05:47 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-31 11:05:47 -0500 |
commit | 9570793f68d44179f9b7e0b264e5fbe0ca839c51 (patch) | |
tree | 08d14952e0eb02742742baf7706d5531a55bcb8d /app/Template | |
parent | 3279768c1cff1534f435a080c4765f8a45290a4e (diff) |
Add a "Me" button to assignee form element
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/board/popover_assignee.php | 3 | ||||
-rw-r--r-- | app/Template/task_creation/form.php | 3 | ||||
-rw-r--r-- | app/Template/task_modification/edit_task.php | 3 |
3 files changed, 3 insertions, 6 deletions
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 @@ <?= $this->form->hidden('id', $values) ?> <?= $this->form->hidden('project_id', $values) ?> - <?= $this->form->label(t('Assignee'), 'owner_id') ?> - <?= $this->form->select('owner_id', $users_list, $values, array(), array('autofocus')) ?><br/> + <?= $this->task->selectAssignee($users_list, $values, array(), array('autofocus')) ?> <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> 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 @@ <div class="form-column"> <?= $this->form->hidden('project_id', $values) ?> - <?= $this->form->label(t('Assignee'), 'owner_id') ?> - <?= $this->form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?> + <?= $this->task->selectAssignee($users_list, $values, $errors) ?> <?= $this->form->label(t('Category'), 'category_id') ?> <?= $this->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 @@ <?= $this->form->hidden('id', $values) ?> <?= $this->form->hidden('project_id', $values) ?> - <?= $this->form->label(t('Assignee'), 'owner_id') ?> - <?= $this->form->select('owner_id', $users_list, $values, $errors, array('tabindex="3"')) ?> + <?= $this->task->selectAssignee($users_list, $values, $errors) ?> <?= $this->form->label(t('Category'), 'category_id') ?> <?= $this->form->select('category_id', $categories_list, $values, $errors, array('tabindex="4"')) ?> |