<%inherit file="/base.mako" /> <%namespace name="forumlib" file="/forum/lib.mako" /> <%namespace name="userlib" file="/users/lib.mako" /> <%namespace name="lib" file="/lib.mako" /> <%def name="title()">${c.forum.name} - Forums <%def name="title_in_page()">

Threads

${forumlib.hierarchy(c.forum)} ${lib.pager(c.skip, c.per_page, c.num_threads, dict(controller='forum', action='threads', forum_id=c.forum.id))} % for thread in c.threads: % endfor
Thread Last post Posts
${thread.subject} % if thread.last_post: ## XXX should do direct post link ${thread.last_post.posted_time}
by ${userlib.color_bar(thread.last_post.author)} ${thread.last_post.author.name} % else: — % endif
${thread.post_count}
${lib.pager(c.skip, c.per_page, c.num_threads, dict(controller='forum', action='threads', forum_id=c.forum.id))} ${forumlib.write_thread_form(c.forum)}