Merge branch 'master' of git@veekun.com:floof
[zzz-floof.git] / floof / templates / comments / thread.mako
1 <%inherit file="/base.mako" />
2 <%namespace name="comments" file="/comments/lib.mako" />
3
4 <p><a href="/${c.owner_url}">« Return</a></p>
5
6 % if c.root_comment:
7 ${comments.single_comment(c.root_comment)}
8 % endif
9
10 <h1>${len(c.comments)} comments</h1>
11 <p><a href="${url(controller='comments', action='thread', owner_url=c.owner_url)}">View all</a></p>
12 % if c.root_comment_id:
13 <p><a href="${url(controller='comments', action='reply', id=c.root_comment_id, owner_url=c.owner_url)}">Reply</a></p>
14 % else:
15 <p><a href="${url(controller='comments', action='reply', owner_url=c.owner_url)}">Reply</a></p>
16 % endif
17 ${comments.comment_thread(c.comments)}