From d67e9d35ed16e731bc0380595e467726c1493cbf Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 18 Feb 2017 16:03:01 -0500 Subject: Simplify subtasks table --- app/Template/subtask/table.php | 54 ++++++++++++++++-------------------------- 1 file changed, 21 insertions(+), 33 deletions(-) (limited to 'app/Template/subtask/table.php') diff --git a/app/Template/subtask/table.php b/app/Template/subtask/table.php index 156e08c1..bfb42e75 100644 --- a/app/Template/subtask/table.php +++ b/app/Template/subtask/table.php @@ -5,13 +5,10 @@ > - - + + hook->render('template:subtask:table:header:before-timetracking') ?> - - - @@ -19,7 +16,11 @@ - +   + render('subtask/menu', array( + 'task' => $task, + 'subtask' => $subtask, + )) ?> subtask->toggleStatus($subtask, $task['project_id'], true) ?> subtask->getTitle($subtask) ?> @@ -32,36 +33,23 @@ hook->render('template:subtask:table:rows', array('subtask' => $subtask)) ?> - + - - - render('subtask/menu', array( - 'task' => $task, - 'subtask' => $subtask, - )) ?> - - -- cgit v1.2.3