<%def name="comment_block(comments)">

${len(comments)} comments

View all

Reply

${comment_thread(comments)} <%def name="comment_thread(comments)"> <%! from floof.model.comments import indent_comments %>\ % for comment in indent_comments(comments): ${single_comment(comment)} % endfor <%def name="single_comment(comment)"> % if hasattr(comment, 'indent'):
% else:
% endif
${comment.user.name}
${comment.time}

${comment.text}