From 34d7450d3c13342715e90ec21bceaa13e1baa876 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 11:28:50 -0500 Subject: Template helpers refactoring --- app/Template/task/show.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'app/Template/task/show.php') diff --git a/app/Template/task/show.php b/app/Template/task/show.php index 2652291a..b98af52d 100644 --- a/app/Template/task/show.php +++ b/app/Template/task/show.php @@ -1,7 +1,7 @@ - $task, 'project' => $project)) ?> - $values, 'date_format' => $date_format, 'date_formats' => $date_formats)) ?> - $task)) ?> - $task, 'subtasks' => $subtasks)) ?> - $timesheet)) ?> - $task, 'files' => $files)) ?> - $task, 'comments' => $comments, 'project' => $project)) ?> \ No newline at end of file +render('task/details', array('task' => $task, 'project' => $project)) ?> +render('task/time', array('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('file/show', array('task' => $task, 'files' => $files)) ?> +render('task/comments', array('task' => $task, 'comments' => $comments, 'project' => $project)) ?> \ No newline at end of file -- cgit v1.2.3