summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTimo Litzbarski <tili2@gmx.de>2016-03-02 11:54:33 +0000
committerTimo Litzbarski <tili2@gmx.de>2016-03-02 11:54:33 +0000
commitb3f43050c8e8ffb87d9dae45aecb33084a2ac25b (patch)
tree92e8efea652508c59e4f2dcc02ea7b00c7884a6c /app
parent6ef83d0e058d653322a8f9eb1131e665fb9b2a70 (diff)
add new hooks #1742
Diffstat (limited to 'app')
-rw-r--r--app/Template/task/show.php16
1 files changed, 16 insertions, 0 deletions
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 @@
+<?= $this->hook->render('template:task:show:top', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('task/details', array(
'task' => $task,
'project' => $project,
'editable' => $this->user->hasProjectAccess('taskmodification', 'edit', $project['id']),
)) ?>
+<?= $this->hook->render('template:task:show:before-description', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('task/description', array('task' => $task)) ?>
+<?= $this->hook->render('template:task:show:before-subtasks', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('subtask/show', array(
'task' => $task,
'subtasks' => $subtasks,
@@ -14,6 +20,8 @@
'editable' => true,
)) ?>
+<?= $this->hook->render('template:task:show:before-tasklinks', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('tasklink/show', array(
'task' => $task,
'links' => $links,
@@ -22,17 +30,25 @@
'is_public' => false,
)) ?>
+<?= $this->hook->render('template:task:show:before-timetracking', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('task/time_tracking_summary', array('task' => $task)) ?>
+<?= $this->hook->render('template:task:show:before-attachements', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('task_file/show', array(
'task' => $task,
'files' => $files,
'images' => $images
)) ?>
+<?= $this->hook->render('template:task:show:before-comments', array('task' => $task, 'project' => $project)) ?>
+
<?= $this->render('task/comments', array(
'task' => $task,
'comments' => $comments,
'project' => $project,
'editable' => $this->user->hasProjectAccess('comment', 'edit', $project['id']),
)) ?>
+
+<?= $this->hook->render('template:task:show:bottom', array('task' => $task, 'project' => $project)) ?>