Mercurial > public > sg101
diff gpp/templates/forums/index.html @ 382:a1b03de20345
Fixing #185; add a global forums catchup button.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 09 Mar 2011 02:39:24 +0000 |
parents | dd673fae508d |
children | e94570675664 |
line wrap: on
line diff
--- a/gpp/templates/forums/index.html Wed Mar 09 01:50:13 2011 +0000 +++ b/gpp/templates/forums/index.html Wed Mar 09 02:39:24 2011 +0000 @@ -1,4 +1,5 @@ {% extends 'base.html' %} +{% load url from future %} {% load cache %} {% load forum_tags %} {% load core_tags %} @@ -44,6 +45,10 @@ </tbody> </table> {% endfor %} +<form action="{% url 'forums-catchup_all' %}" method="post">{% csrf_token %} + <input type="submit" value="Mark All Forums Read" /> +</form> +<br /> {% cache 900 forum-stats-block %} {% forum_stats %} {% endcache %}