diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-06-01 15:58:17 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-06-01 15:58:17 -0700 |
commit | 912cf378d730b3df8d285ba765711d9c456bdea0 (patch) | |
tree | cc26710f2e1e4e9eb958b873a2fb537cf3a389cb /app/Template/task_list/task_title.php | |
parent | cd6da138973f6bfe7c71846ff6cc1d6fb97c4813 (diff) |
Add checkboxes in list view to move tasks to another column at once
Diffstat (limited to 'app/Template/task_list/task_title.php')
-rw-r--r-- | app/Template/task_list/task_title.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Template/task_list/task_title.php b/app/Template/task_list/task_title.php index 028e9b70..92d61b6c 100644 --- a/app/Template/task_list/task_title.php +++ b/app/Template/task_list/task_title.php @@ -1,5 +1,8 @@ <div> <?php if ($this->user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> + <?php if (isset($show_items_selection)): ?> + <input type="checkbox" data-list-item="selectable" name="tasks[]" value="<?= $task['id'] ?>"> + <?php endif ?> <?= $this->render('task/dropdown', array('task' => $task)) ?> <?php else: ?> <strong><?= '#'.$task['id'] ?></strong> |