summaryrefslogtreecommitdiff
path: root/app/Template/task/public.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task/public.php')
-rw-r--r--app/Template/task/public.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/Template/task/public.php b/app/Template/task/public.php
new file mode 100644
index 00000000..73116de9
--- /dev/null
+++ b/app/Template/task/public.php
@@ -0,0 +1,34 @@
+<section id="main" class="public-task">
+
+ <?= $this->render('task/details', array('task' => $task, 'project' => $project, 'not_editable' => true)) ?>
+
+ <p class="pull-right"><?= $this->url->link(t('Back to the board'), 'board', 'readonly', array('token' => $project['token'])) ?></p>
+
+ <?= $this->render('task/show_description', array(
+ 'task' => $task,
+ 'project' => $project,
+ 'is_public' => true
+ )) ?>
+
+ <?= $this->render('tasklink/show', array(
+ 'task' => $task,
+ 'links' => $links,
+ 'project' => $project,
+ 'not_editable' => true
+ )) ?>
+
+ <?= $this->render('subtask/show', array(
+ 'task' => $task,
+ 'subtasks' => $subtasks,
+ 'not_editable' => true
+ )) ?>
+
+ <?= $this->render('task/comments', array(
+ 'task' => $task,
+ 'comments' => $comments,
+ 'project' => $project,
+ 'not_editable' => true,
+ 'is_public' => true,
+ )) ?>
+
+</section> \ No newline at end of file