Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
381:6df1091b11b2 | 382:a1b03de20345 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load url from future %} | |
2 {% load cache %} | 3 {% load cache %} |
3 {% load forum_tags %} | 4 {% load forum_tags %} |
4 {% load core_tags %} | 5 {% load core_tags %} |
5 {% block custom_head %} | 6 {% block custom_head %} |
6 {% for feed in feeds %} | 7 {% for feed in feeds %} |
42 </tr> | 43 </tr> |
43 {% endfor %} | 44 {% endfor %} |
44 </tbody> | 45 </tbody> |
45 </table> | 46 </table> |
46 {% endfor %} | 47 {% endfor %} |
48 <form action="{% url 'forums-catchup_all' %}" method="post">{% csrf_token %} | |
49 <input type="submit" value="Mark All Forums Read" /> | |
50 </form> | |
51 <br /> | |
47 {% cache 900 forum-stats-block %} | 52 {% cache 900 forum-stats-block %} |
48 {% forum_stats %} | 53 {% forum_stats %} |
49 {% endcache %} | 54 {% endcache %} |
50 {% whos_online %} | 55 {% whos_online %} |
51 <p>{% current_forum_time user %}</p> | 56 <p>{% current_forum_time user %}</p> |