Mercurial > public > sg101
comparison gpp/templates/forums/index.html @ 167:cf9f9d4c4d54
Adding a query to the forums to get all the topics with unread posts. This is for ticket #54.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 24 Jan 2010 22:33:11 +0000 |
parents | f7a6b8fe4556 |
children | 6f14970b103a |
comparison
equal
deleted
inserted
replaced
166:8acf5be27f18 | 167:cf9f9d4c4d54 |
---|---|
2 {% load cache %} | 2 {% load cache %} |
3 {% load forum_tags %} | 3 {% load forum_tags %} |
4 {% block title %}Forums{% endblock %} | 4 {% block title %}Forums{% endblock %} |
5 {% block content %} | 5 {% block content %} |
6 <h2>Forums</h2> | 6 <h2>Forums</h2> |
7 | |
8 <form action="." method="get" id="forum-query-form"> | |
9 <select name="query"> | |
10 <option value="unread">Show topics with unread posts</option> | |
11 <option value="mine">Show my posts</option> | |
12 <option value="unanswered">Show unanswered posts</option> | |
13 </select><input type="submit" value="Go" /> | |
14 </form> | |
7 | 15 |
8 <div class="forum-block"> | 16 <div class="forum-block"> |
9 {% for iter in cats %} | 17 {% for iter in cats %} |
10 <h3>{{ iter.cat }}</h3> | 18 <h3>{{ iter.cat }}</h3> |
11 <table class="forum-index-table"> | 19 <table class="forum-index-table"> |