1 <%inherit file="/base.mako" />
2 <%namespace name="comments" file="/comments/lib.mako" />
5 ${comments.single_comment(c.root_comment)}
8 <h1>${len(c.comments)} comments</h1>
9 <p><a href="${url(controller='comments', action='thread', owner_url=c.owner_url)}">View all</a></p>
10 % if c.root_comment_id:
11 <p><a href="${url(controller='comments', action='reply', id=c.root_comment_id, owner_url=c.owner_url)}">Reply</a></p>
13 <p><a href="${url(controller='comments', action='reply', owner_url=c.owner_url)}">Reply</a></p>
15 ${comments.comment_thread(c.comments)}