--- /dev/null
+[% META title = 'Forum unread posts' %]
+
+<h2>All new posts</h2>
+<table class="boards">
+<tr>
+ <th>Unread</th>
+ <th>Total</th>
+ <th>Subject</th>
+ <th>Posted</th>
+ <th>Creator</th>
+ <th>Last post</th>
+</tr>
+[% FOR category IN categories %]
+ <tr><th colspan="2">[% category.category %]</th></tr>
+ [% FOR board IN category.boards %]
+ <tr>
+ <th></th>
+ <th colspan="2"><a href="[% c.uri_for('board',board.fbid) %]">[% board.board %]</th>
+ <th colspan="2"><a href="[% c.uri_for('markBoardAsRead',board.fbid,time) %]">Mark threads as read</a></th>
+ </tr>
+ [% FOR thread IN board.threads %]
+ <tr class="[% IF loop.count % 2 == 0 %]even[% ELSE %]odd[% END %]">
+ <td align="center">[% thread.unread %]</td>
+ <td align="center">[% thread.posts %]</td>
+ <td[% IF thread.sticky %] class="sticky"[% END %]><a href="[% c.uri_for('thread',thread.ftid)%]#NewPosts"> [% thread.subject %] </a></td>
+ <td align="left">[% thread.posting_date %]</td>
+ <td align="center">[% thread.username %]</td>
+ <td align="left">[% thread.last_post %]</td>
+ </tr>
+ [% END %]
+ [% END %]
+[% END %]
+</table>