Show forum activity in sidebar

This commit is contained in:
Trever Fischer
2012-04-16 17:47:28 -04:00
parent cf5957345c
commit b40d04ae74
3 changed files with 15 additions and 1 deletions

View File

@@ -21,5 +21,13 @@
{% block sidebar %}
{% endblock %}
</div>
<div class="stat-box">
<h2 class="title">Forums</h2>
<h3>Latest Posts</h3>
<ul>
{% for post in latestForumPosts %}
<li>{{post.user}} in <a href="{{post.topic.get_absolute_url}}">{{post.topic}}</a></li>
{% endfor %}
</ul>
</div>
</div>