diff options
Diffstat (limited to 'app/Templates/task_comments.php')
| -rw-r--r-- | app/Templates/task_comments.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/Templates/task_comments.php b/app/Templates/task_comments.php new file mode 100644 index 00000000..acd84952 --- /dev/null +++ b/app/Templates/task_comments.php @@ -0,0 +1,15 @@ +<?php if (! empty($comments)): ?> +<div id="comments" class="task-show-section"> + <div class="page-header"> + <h2><?= t('Comments') ?></h2> + </div> + + <?php foreach ($comments as $comment): ?> + <?= Helper\template('comment_show', array( + 'comment' => $comment, + 'task' => $task, + 'not_editable' => isset($not_editable) && $not_editable, + )) ?> + <?php endforeach ?> +</div> +<?php endif ?>
\ No newline at end of file |
