Refactoring to implement new layout with filters: board/calendar/list views (work in progress)
This commit is contained in:
16
app/Template/board/tooltip_comments.php
Normal file
16
app/Template/board/tooltip_comments.php
Normal file
@@ -0,0 +1,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>
|
||||
Reference in New Issue
Block a user