From 2d890cbc712371f17ba4bbceb02af3c5ba04e6da Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 Feb 2015 19:39:39 -0500 Subject: Update task time tracking based on subtask time tracking --- app/Template/task/show.php | 2 +- app/Template/task/timesheet.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'app/Template') diff --git a/app/Template/task/show.php b/app/Template/task/show.php index 3bc6796f..b8243cc6 100644 --- a/app/Template/task/show.php +++ b/app/Template/task/show.php @@ -2,6 +2,6 @@ render('task/time', array('task' => $task, 'values' => $values, 'date_format' => $date_format, 'date_formats' => $date_formats)) ?> render('task/show_description', array('task' => $task)) ?> render('subtask/show', array('task' => $task, 'subtasks' => $subtasks)) ?> -render('task/timesheet', array('timesheet' => $timesheet)) ?> +render('task/timesheet', array('task' => $task)) ?> render('file/show', array('task' => $task, 'files' => $files)) ?> render('task/comments', array('task' => $task, 'comments' => $comments, 'project' => $project)) ?> \ No newline at end of file diff --git a/app/Template/task/timesheet.php b/app/Template/task/timesheet.php index fa76b84d..0210be7e 100644 --- a/app/Template/task/timesheet.php +++ b/app/Template/task/timesheet.php @@ -1,13 +1,13 @@ - 0 || $timesheet['time_spent'] > 0): ?> + 0 || $task['time_spent'] > 0): ?> \ No newline at end of file -- cgit v1.2.3