Added partial support for comment threading.
[zzz-floof.git] / floof / templates / comments / lib.mako
index df5cbf6..38e6534 100644 (file)
@@ -1,4 +1,6 @@
 <%def name="comment_block(comments)">
+<h1>${len(comments)} comments</h1>
+## XXX make sure these do the right thing when this is a subtree
 <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)}