summaryrefslogtreecommitdiff
path: root/app/Template/board/comments.php
blob: 83d6bd9accb392fb4ec0c0ccbe50f56458d27d28 (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"><?= Helper\escape($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">
                <?= Helper\markdown($comment['comment']) ?>
            </div>
        </div>
    <?php endforeach ?>
</section>