summaryrefslogtreecommitdiff
path: root/app/Template/board/tooltip_comments.php
blob: ca91e13f062fe1124f226556adde97c550e46a13 (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"><?= $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>