summaryrefslogtreecommitdiff
path: root/app/Template/comment/show.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/comment/show.php')
-rw-r--r--app/Template/comment/show.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Template/comment/show.php b/app/Template/comment/show.php
index 35394ccb..84077668 100644
--- a/app/Template/comment/show.php
+++ b/app/Template/comment/show.php
@@ -4,7 +4,12 @@
<?php if (! empty($comment['email'])): ?>
<?= $this->user->avatar($comment['email'], $comment['name'] ?: $comment['username']) ?>
<?php endif ?>
- <span class="comment-username"><?= $this->e($comment['name'] ?: $comment['username']) ?></span> @ <span class="comment-date"><?= dt('%B %e, %Y at %k:%M %p', $comment['date']) ?></span>
+
+ <?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 at %k:%M %p', $comment['date_creation']) ?></span>
</p>
<div class="comment-inner">