comparison gpp/templates/forums/topic_list.html @ 384:957955279a15

Fixing #188; improve number of SQL queries for mark all forums read and add the button on the view topics with unread posts view.
author Brian Neal <bgneal@gmail.com>
date Wed, 16 Mar 2011 01:49:10 +0000
parents dd673fae508d
children 3c48a555298d
comparison
equal deleted inserted replaced
383:b2b37cdd020a 384:957955279a15
52 </td> 52 </td>
53 </tr> 53 </tr>
54 {% endfor %} 54 {% endfor %}
55 </tbody> 55 </tbody>
56 </table> 56 </table>
57
58 {% if unread and page.object_list %}
59 <form action="{% url 'forums-catchup_all' %}" method="post">{% csrf_token %}
60 <input type="submit" value="Mark All Forums Read" />
61 </form>
62 <br />
63
64 {% endif %}
57 {{ page_nav }} 65 {{ page_nav }}
58 </div> 66 </div>
59 {% endblock %} 67 {% endblock %}