diff options
Diffstat (limited to 'app/Templates/task_public.php')
-rw-r--r-- | app/Templates/task_public.php | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/app/Templates/task_public.php b/app/Templates/task_public.php index 3f44ceec..13fef1ed 100644 --- a/app/Templates/task_public.php +++ b/app/Templates/task_public.php @@ -4,10 +4,24 @@ <p class="pull-right"><?= Helper\a(t('Back to the board'), 'board', 'readonly', array('token' => $project['token'])) ?></p> - <?= Helper\template('task_show_description', array('task' => $task)) ?> + <?= Helper\template('task_show_description', array( + 'task' => $task, + 'project' => $project, + 'is_public' => true + )) ?> - <?= Helper\template('subtask_show', array('task' => $task, 'subtasks' => $subtasks, 'not_editable' => true)) ?> + <?= Helper\template('subtask_show', array( + 'task' => $task, + 'subtasks' => $subtasks, + 'not_editable' => true + )) ?> - <?= Helper\template('task_comments', array('task' => $task, 'comments' => $comments, 'not_editable' => true)) ?> + <?= Helper\template('task_comments', array( + 'task' => $task, + 'comments' => $comments, + 'project' => $project, + 'not_editable' => true, + 'is_public' => true, + )) ?> </section>
\ No newline at end of file |