diff 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
line wrap: on
line diff
--- a/gpp/templates/forums/index.html	Tue Dec 22 03:56:26 2009 +0000
+++ b/gpp/templates/forums/index.html	Mon Dec 28 16:52:42 2009 +0000
@@ -1,4 +1,5 @@
 {% extends 'base.html' %}
+{% load cache %}
 {% load forum_tags %}
 {% block title %}Forums{% endblock %}
 {% block content %}
@@ -33,6 +34,9 @@
       </tbody>
    </table>
 {% endfor %}
+{% cache 900 forum-stats-block %}
+{% forum_stats %}
+{% endcache %}
 {% whos_online %}
 <p>{% current_forum_time user %}</p>
 </div>