359c2962079b44997c6620ef8bf310fecbc57cf2
[zzz-floof.git] / floof / templates / comments / thread.mako
1 <%inherit file="/base.mako" />
2 <%namespace name="comments" file="/comments/lib.mako" />
3
4 % if c.root_comment:
5 ${comments.single_comment(c.root_comment)}
6 % endif
7
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>
12 % else:
13 <p><a href="${url(controller='comments', action='reply', owner_url=c.owner_url)}">Reply</a></p>
14 % endif
15 ${comments.comment_thread(c.comments)}