From b3f43050c8e8ffb87d9dae45aecb33084a2ac25b Mon Sep 17 00:00:00 2001 From: Timo Litzbarski Date: Wed, 2 Mar 2016 11:54:33 +0000 Subject: add new hooks #1742 --- app/Template/task/show.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'app') diff --git a/app/Template/task/show.php b/app/Template/task/show.php index 0c77f576..56ecdf76 100644 --- a/app/Template/task/show.php +++ b/app/Template/task/show.php @@ -1,11 +1,17 @@ +hook->render('template:task:show:top', array('task' => $task, 'project' => $project)) ?> + render('task/details', array( 'task' => $task, 'project' => $project, 'editable' => $this->user->hasProjectAccess('taskmodification', 'edit', $project['id']), )) ?> +hook->render('template:task:show:before-description', array('task' => $task, 'project' => $project)) ?> + render('task/description', array('task' => $task)) ?> +hook->render('template:task:show:before-subtasks', array('task' => $task, 'project' => $project)) ?> + render('subtask/show', array( 'task' => $task, 'subtasks' => $subtasks, @@ -14,6 +20,8 @@ 'editable' => true, )) ?> +hook->render('template:task:show:before-tasklinks', array('task' => $task, 'project' => $project)) ?> + render('tasklink/show', array( 'task' => $task, 'links' => $links, @@ -22,17 +30,25 @@ 'is_public' => false, )) ?> +hook->render('template:task:show:before-timetracking', array('task' => $task, 'project' => $project)) ?> + render('task/time_tracking_summary', array('task' => $task)) ?> +hook->render('template:task:show:before-attachements', array('task' => $task, 'project' => $project)) ?> + render('task_file/show', array( 'task' => $task, 'files' => $files, 'images' => $images )) ?> +hook->render('template:task:show:before-comments', array('task' => $task, 'project' => $project)) ?> + render('task/comments', array( 'task' => $task, 'comments' => $comments, 'project' => $project, 'editable' => $this->user->hasProjectAccess('comment', 'edit', $project['id']), )) ?> + +hook->render('template:task:show:bottom', array('task' => $task, 'project' => $project)) ?> -- cgit v1.2.3