summaryrefslogtreecommitdiff
path: root/app/Templates/task_public.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-09-08 23:19:40 +0200
committerFrédéric Guillot <fred@kanboard.net>2014-09-08 23:19:40 +0200
commite383c069f1aeba49ea9905f77a51bf663e614b0e (patch)
tree8164aa9e1fad104997e53c6e261bec991631dbbb /app/Templates/task_public.php
parent8c6df9ef0cea757d25cbbcc6fa7cee86d8739627 (diff)
Add public view for tasks
Diffstat (limited to 'app/Templates/task_public.php')
-rw-r--r--app/Templates/task_public.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Templates/task_public.php b/app/Templates/task_public.php
new file mode 100644
index 00000000..4578b720
--- /dev/null
+++ b/app/Templates/task_public.php
@@ -0,0 +1,11 @@
+<section id="main" class="public-task">
+
+ <?= Helper\template('task_details', array('task' => $task, 'project' => $project)) ?>
+
+ <?= Helper\template('task_show_description', array('task' => $task)) ?>
+
+ <?= Helper\template('subtask_show', array('task' => $task, 'subtasks' => $subtasks, 'not_editable' => true)) ?>
+
+ <?= Helper\template('task_comments', array('task' => $task, 'comments' => $comments, 'not_editable' => true)) ?>
+
+</section> \ No newline at end of file