summaryrefslogtreecommitdiff
path: root/app/Templates/task_comments.php
blob: acd84952fd2896464b1cc1421aa278fc94dd0e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 ?>