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

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