Test suite runs and passes!
[zzz-floof.git] / floof / templates / comments / lib.mako
index e822a17..93fe086 100644 (file)
@@ -1,5 +1,5 @@
 <%def name="comment_block(comments)">
-<h1>${len(comments)} comments</h1>
+<h1>${len(comments)} comment${'' if len(comments) == 1 else 's'}</h1>
 <p><a href="${url(controller='comments', action='thread', owner_url=h.get_comment_owner_url(**c.route))}">View all</a></p>
 <p><a href="${url(controller='comments', action='reply', owner_url=h.get_comment_owner_url(**c.route))}">Reply</a></p>
 ${comment_thread(comments)}