summaryrefslogtreecommitdiff
path: root/app/Template/board/comments.php
blob: 75816af6da1215bfb37d066f93adcee7e6a38d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<section>
    <?php foreach ($comments as $comment): ?>
        <p class="comment-title">
            <span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%b %e, %Y, %k:%M %p', $comment['date']) ?></span>
        </p>

		<div class="comment-inner">
            <div class="markdown">
                <?= $this->text->markdown($comment['comment']) ?>
            </div>
        </div>
    <?php endforeach ?>
</section>