summaryrefslogtreecommitdiff
path: root/app/Template/task
diff options
context:
space:
mode:
authorOlivier Maridat <olivier.maridat@trialog.com>2016-03-08 11:12:18 +0100
committerOlivier Maridat <olivier.maridat@trialog.com>2016-03-09 11:10:35 +0100
commit7b20a14e8df545080fd5f1e98d31a763a51af517 (patch)
tree9fd61d01ba198ccab7e571c306128905f50af449 /app/Template/task
parent7026e8d622e3f2a08e20c49814fc18a33453932c (diff)
Enhance task link view to mimic the subtask view
Diffstat (limited to 'app/Template/task')
-rw-r--r--app/Template/task/public.php12
-rw-r--r--app/Template/task/show.php1
2 files changed, 7 insertions, 6 deletions
diff --git a/app/Template/task/public.php b/app/Template/task/public.php
index 7edf097c..0052214a 100644
--- a/app/Template/task/public.php
+++ b/app/Template/task/public.php
@@ -10,6 +10,12 @@
'is_public' => true,
)) ?>
+ <?= $this->render('subtask/show', array(
+ 'task' => $task,
+ 'subtasks' => $subtasks,
+ 'editable' => false
+ )) ?>
+
<?= $this->render('tasklink/show', array(
'task' => $task,
'links' => $links,
@@ -18,12 +24,6 @@
'is_public' => true,
)) ?>
- <?= $this->render('subtask/show', array(
- 'task' => $task,
- 'subtasks' => $subtasks,
- 'editable' => false
- )) ?>
-
<?= $this->render('task/comments', array(
'task' => $task,
'comments' => $comments,
diff --git a/app/Template/task/show.php b/app/Template/task/show.php
index 56ecdf76..5dc27ca1 100644
--- a/app/Template/task/show.php
+++ b/app/Template/task/show.php
@@ -25,6 +25,7 @@
<?= $this->render('tasklink/show', array(
'task' => $task,
'links' => $links,
+ 'project' => $project,
'link_label_list' => $link_label_list,
'editable' => true,
'is_public' => false,