1 <%inherit file="/base.mako" />
2 <%namespace name="forumlib" file="/forum/lib.mako" />
4 <%def name="title()">${c.thread.subject} - Forums</%def>
6 <%def name="title_in_page()">
8 <li><a href="${url(controller='forum', action='forums')}">Forums</a></li>
9 <li><a href="${url(controller='forum', action='threads', forum_id=c.thread.forum.id)}">${c.thread.forum.name}</a></li>
10 <li>${c.thread.subject}</li>
15 <ul class="forum-hierarchy">
17 In forum: <a href="${url(controller='forum', action='threads', forum_id=c.thread.forum.id)}"><img src="${h.static_uri('spline', 'icons/folders-stack.png')}" alt=""> ${c.thread.forum.name}</a>
18 ${forumlib.forum_access_level(c.thread.forum)}
21 In thread: <strong><img src="${h.static_uri('spline', 'icons/folder-open-document-text.png')}" alt=""> ${c.thread.subject}</strong>
25 % if c.thread.post_count == 0:
26 <p>Something terribly bogus has happened; this thread has no posts.</p>
28 ${forumlib.posts(c.thread.posts)}
31 ${forumlib.write_post_form(c.thread)}