Show access levels and context everywhere!
[zzz-spline-forum.git] / splinext / forum / templates / forum / posts.mako
index 3ba1ec5..a0f83e5 100644 (file)
 </ul>
 </%def>
 
+<h1>Posts</h1>
+<ul class="forum-hierarchy">
+    <li>
+        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>
+        ${forumlib.forum_access_level(c.thread.forum)}
+    </li>
+    <li>
+        In thread: <strong><img src="${h.static_uri('spline', 'icons/folder-open-document-text.png')}" alt=""> ${c.thread.subject}</strong>
+    </li>
+</ul>
+
 % if c.thread.post_count == 0:
 <p>Something terribly bogus has happened; this thread has no posts.</p>
 % else: