summaryrefslogtreecommitdiff
path: root/app/Template/board/tooltip_comments.php
blob: 6665bc7d4969b1c5c3d005c84234766616293a1a (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->text->e($comment['name'] ?: $comment['username']) ?></span> @
            <?php endif ?>
            <span class="comment-date"><?= $this->dt->datetime($comment['date_creation']) ?></span>
        </p>

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