summaryrefslogtreecommitdiff
path: root/modules/comment/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-02-22 20:16:56 +0000
committerBharat Mediratta <bharat@menalto.com>2009-02-22 20:16:56 +0000
commitf5169dd4518b2f3691910bfeb53a5c8c480059ef (patch)
tree47328425364eeb9a13a118d3c9becaa628e5db4e /modules/comment/views
parenta83b6e9180c8ff495f23a25b9532c5fed5434824 (diff)
Leave the comments title around, but add the "Be the first to comment"
message below it.
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 b407930e..ce99cbe7 100644
--- a/modules/comment/views/comments.html.php
+++ b/modules/comment/views/comments.html.php
@@ -20,4 +20,7 @@
</li>
<? endforeach ?>
</ul>
+<? if (!$comments->count()): ?>
+<?= t("No comments yet. Be the first to comment!") ?>
+<? endif ?>
<a name="add_comment_form"></a>