Mercurial > public > sg101
comparison gpp/templates/forums/forum_query.html @ 409:c374bfd5594f
Fixing #177; added a view to display the last x active topics (where x is between 10 and 50). Added a link to the view on the forum query drop down.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 02 Apr 2011 00:47:05 +0000 |
parents | daa2916f5b34 |
children |
comparison
equal
deleted
inserted
replaced
408:7e0997b08b50 | 409:c374bfd5594f |
---|---|
1 {% load url from future %} | 1 {% load url from future %} |
2 <form action="." method="get" id="forum-query-form"> | 2 <form action="." method="get" id="forum-query-form"> |
3 <select id="forum-query-select"> | 3 <select id="forum-query-select"> |
4 {% if user.is_authenticated %} | |
4 <option value="{% url 'forums-unread_topics' %}">Show topics with unread posts</option> | 5 <option value="{% url 'forums-unread_topics' %}">Show topics with unread posts</option> |
6 {% endif %} | |
7 <option value="{% url 'forums-active_topics' 30 %}">Show active topics</option> | |
5 <option value="{% url 'forums-unanswered_topics' %}">Show unanswered topics</option> | 8 <option value="{% url 'forums-unanswered_topics' %}">Show unanswered topics</option> |
6 {% if user.is_authenticated %} | 9 {% if user.is_authenticated %} |
7 <option value="{% url 'forums-my_posts' %}">Show my posts</option> | 10 <option value="{% url 'forums-my_posts' %}">Show my posts</option> |
8 <option value="{% url 'forums-manage_favorites' %}">Show my favorite topics</option> | 11 <option value="{% url 'forums-manage_favorites' %}">Show my favorite topics</option> |
9 <option value="{% url 'forums-manage_subscriptions' %}">Show my subscribed topics</option> | 12 <option value="{% url 'forums-manage_subscriptions' %}">Show my subscribed topics</option> |