Fix page titles; add breadcrumbs.
[zzz-spline-forum.git] / splinext / forum / templates / forum / threads.mako
index 21468ed..a27d4f1 100644 (file)
@@ -2,10 +2,18 @@
 
 <%def name="title()">${c.forum.name} - Forums</%def>
 
+<%def name="title_in_page()">
+<ul id="breadcrumbs">
+    <li><a href="${url(controller='forum', action='forums')}">Forums</a></li>
+    <li>${c.forum.name}</li>
+</ul>
+</%def>
+
 <table>
     % for thread in c.threads:
     <tr>
         <td><a href="${url(controller='forum', action='posts', forum_id=c.forum.id, thread_id=thread.id)}">${thread.subject}</a></td>
+        <td>${thread.post_count}</td>
     </tr>
     % endfor
 </table>