diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/views/comments.html.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php index 1b9f8bbb..da45f57b 100644 --- a/modules/comment/views/comments.html.php +++ b/modules/comment/views/comments.html.php @@ -16,10 +16,13 @@ <? else: ?> <?= t("No comments yet.") ?> <? endif ?> - </p> - <ul><li class="g-no-comments"> </li></ul> - <? else: ?> + </p> + <ul> + <li class="g-no-comments"> </li> + </ul> + <? endif ?> + <? if ($comments->count()): ?> <ul> <? foreach ($comments as $comment): ?> <li id="g-comment-<?= $comment->id ?>"> |