Added forum descriptions. #327
[zzz-spline-forum.git] / splinext / forum / templates / forum / threads.mako
index 3add2ad..7df962b 100644 (file)
@@ -1,4 +1,5 @@
 <%inherit file="/base.mako" />
+<%namespace name="forumlib" file="/forum/lib.mako" />
 
 <%def name="title()">${c.forum.name} - Forums</%def>
 
 </ul>
 </%def>
 
+<h1>Threads</h1>
+${forumlib.hierarchy(c.forum)}
+
 <table class="forum-list striped-rows">
 <thead>
     <tr class="header-row">
-        <th class="name">Thread</th>
+        <th class="name">
+            <img src="${h.static_uri('spline', 'icons/folder-open-document-text.png')}" alt="">
+            Thread
+        </th>
         <th class="stats">Posts</th>
     </tr>
 </thead>
@@ -25,3 +32,5 @@
     % endfor
 </tbody>
 </table>
+
+${forumlib.write_thread_form(c.forum)}