summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-02-14 07:11:11 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-02-14 07:11:11 -0800
commitdf8273e3f26f35ad87fd6f96610f370bdad7f1e5 (patch)
treefa4419ea94b9bc43582505899c83a370d2f3f8b3 /modules/comment/views
parentda251228cbb54818852c49d37ec7eb31f2313160 (diff)
parent995e592a3d7e6b6778c2c3a2e9bed8e087252f57 (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/comment/views')
-rw-r--r--modules/comment/views/comments.html.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/comment/views/comments.html.php b/modules/comment/views/comments.html.php
index 0ed07c22..58ff1765 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -10,7 +10,9 @@
<?= t("No comments yet. Be the first to <a %attrs>comment</a>!",
array("attrs" => html::mark_clean("id= \"g-no-comments\" href=\"" . url::site("form/add/comments/{$item->id}") . "\" class=\"showCommentForm\""))) ?>
</p>
+<ul>&nbsp;</ul>
<? endif ?>
+<? if ($comments->count()): ?>
<ul>
<? foreach ($comments as $comment): ?>
<li id="g-comment-<?= $comment->id ?>">
@@ -39,4 +41,5 @@
</li>
<? endforeach ?>
</ul>
+<? endif ?>
</div>