summaryrefslogtreecommitdiff
path: root/app/Template/board/tooltip_comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board/tooltip_comments.php')
-rw-r--r--app/Template/board/tooltip_comments.php21
1 files changed, 7 insertions, 14 deletions
diff --git a/app/Template/board/tooltip_comments.php b/app/Template/board/tooltip_comments.php
index 6665bc7d..1db07356 100644
--- a/app/Template/board/tooltip_comments.php
+++ b/app/Template/board/tooltip_comments.php
@@ -1,16 +1,9 @@
-<section>
+<div class="comment-tooltip">
<?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>
+ <?= $this->render('comment/show', array(
+ 'comment' => $comment,
+ 'task' => $task,
+ 'hide_actions' => true,
+ )) ?>
<?php endforeach ?>
-</section>
+</div>