Mercurial > public > sg101
comparison gpp/templates/forums/index.html @ 164:f7a6b8fe4556
Implement #46, add a forums stat feature like phpBB.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 28 Dec 2009 16:52:42 +0000 |
parents | 2eb3984ccb15 |
children | cf9f9d4c4d54 |
comparison
equal
deleted
inserted
replaced
163:4f07047e0a40 | 164:f7a6b8fe4556 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load cache %} | |
2 {% load forum_tags %} | 3 {% load forum_tags %} |
3 {% block title %}Forums{% endblock %} | 4 {% block title %}Forums{% endblock %} |
4 {% block content %} | 5 {% block content %} |
5 <h2>Forums</h2> | 6 <h2>Forums</h2> |
6 | 7 |
31 </tr> | 32 </tr> |
32 {% endfor %} | 33 {% endfor %} |
33 </tbody> | 34 </tbody> |
34 </table> | 35 </table> |
35 {% endfor %} | 36 {% endfor %} |
37 {% cache 900 forum-stats-block %} | |
38 {% forum_stats %} | |
39 {% endcache %} | |
36 {% whos_online %} | 40 {% whos_online %} |
37 <p>{% current_forum_time user %}</p> | 41 <p>{% current_forum_time user %}</p> |
38 </div> | 42 </div> |
39 {% endblock %} | 43 {% endblock %} |