From 912cf378d730b3df8d285ba765711d9c456bdea0 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 1 Jun 2018 15:58:17 -0700 Subject: Add checkboxes in list view to move tasks to another column at once --- app/Template/task_list/header.php | 18 ++++++++++++++++++ app/Template/task_list/listing.php | 2 ++ app/Template/task_list/task_title.php | 3 +++ 3 files changed, 23 insertions(+) (limited to 'app/Template/task_list') diff --git a/app/Template/task_list/header.php b/app/Template/task_list/header.php index 7704e2df..599286aa 100644 --- a/app/Template/task_list/header.php +++ b/app/Template/task_list/header.php @@ -6,6 +6,24 @@ getTotal()) ?> + + user->hasProjectAccess('TaskModificationController', 'save', $project['id'])): ?> + +
+ -  + +
+ +
user->hasSubtaskListActivated()): ?> diff --git a/app/Template/task_list/listing.php b/app/Template/task_list/listing.php index 97393972..7891b543 100644 --- a/app/Template/task_list/listing.php +++ b/app/Template/task_list/listing.php @@ -7,12 +7,14 @@ render('task_list/header', array( 'paginator' => $paginator, 'project' => $project, + 'show_items_selection' => true, )) ?> getCollection() as $task): ?>
render('task_list/task_title', array( 'task' => $task, + 'show_items_selection' => true, )) ?> render('task_list/task_details', array( 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 @@
user->hasProjectAccess('TaskModificationController', 'edit', $task['project_id'])): ?> + + + render('task/dropdown', array('task' => $task)) ?> -- cgit v1.2.3