Mercurial > public > sg101
comparison gpp/templates/forums/index.html @ 280:21d2ca3b4bf7
Fixing #121. The forum query pulldown should appear on all forum query pages for consistency.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 03 Oct 2010 20:44:09 +0000 |
parents | 307a74e28112 |
children | 88b2b9cb8c1f |
comparison
equal
deleted
inserted
replaced
279:879d39647064 | 280:21d2ca3b4bf7 |
---|---|
4 {% load core_tags %} | 4 {% load core_tags %} |
5 {% block custom_head %} | 5 {% block custom_head %} |
6 {% for feed in feeds %} | 6 {% for feed in feeds %} |
7 <link rel="alternate" type="application/rss+xml" title="{{ feed.name }}" href="{{ feed.feed }}" /> | 7 <link rel="alternate" type="application/rss+xml" title="{{ feed.name }}" href="{{ feed.feed }}" /> |
8 {% endfor %} | 8 {% endfor %} |
9 {% include "forums/forum_query.js" %} | |
9 {% endblock %} | 10 {% endblock %} |
10 {% block title %}Forums{% endblock %} | 11 {% block title %}Forums{% endblock %} |
11 {% block content %} | 12 {% block content %} |
12 <h2>Forums <a href="/feeds/forums/"><img src="{{ MEDIA_URL }}icons/feed.png" alt="Forums Feed" title="Forums Feed" /></a></h2> | 13 <h2>Forums <a href="/feeds/forums/"><img src="{{ MEDIA_URL }}icons/feed.png" alt="Forums Feed" title="Forums Feed" /></a></h2> |
13 | 14 |
14 <form action="." method="get" id="forum-query-form"> | 15 {% include "forums/forum_query.html" %} |
15 <select name="query"> | |
16 <option value="unread">Show topics with unread posts</option> | |
17 <option value="mine">Show my posts</option> | |
18 <option value="unanswered">Show unanswered posts</option> | |
19 <option value="favorites">Show my favorite topics</option> | |
20 <option value="subscriptions">Show my subscribed topics</option> | |
21 </select><input type="submit" value="Go" /> | |
22 </form> | |
23 | 16 |
24 <div class="forum-block"> | 17 <div class="forum-block"> |
25 {% for iter in cats %} | 18 {% for iter in cats %} |
26 <h3>{{ iter.cat }}</h3> | 19 <h3>{{ iter.cat }}</h3> |
27 <table class="forum-index-table"> | 20 <table class="forum-index-table"> |