Mercurial > public > sg101
diff gpp/templates/forums/forum_query.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 | |
children | 593fb6dbd449 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/forums/forum_query.html Sun Oct 03 20:44:09 2010 +0000 @@ -0,0 +1,12 @@ +<form action="." method="get" id="forum-query-form"> + <select id="forum-query-select"> + <option value="{% url forums-unread_topics %}">Show topics with unread posts</option> + <option value="{% url forums-unanswered_topics %}">Show unanswered posts</option> + {% if user.is_authenticated %} + <option value="{% url forums-my_posts %}">Show my posts</option> + <option value="{% url forums-manage_favorites %}">Show my favorite topics</option> + <option value="{% url forums-manage_subscriptions %}">Show my subscribed topics</option> + {% endif %} + </select> + <button type="button" id="forum-query-button">Go</button> +</form>