diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2009-02-22 20:16:56 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2009-02-22 20:16:56 +0000 |
| commit | f5169dd4518b2f3691910bfeb53a5c8c480059ef (patch) | |
| tree | 47328425364eeb9a13a118d3c9becaa628e5db4e /modules/comment/views | |
| parent | a83b6e9180c8ff495f23a25b9532c5fed5434824 (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.php | 3 |
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> |
