diff gpp/templates/forums/display_post.html @ 96:93d9e74a471e

Forums: added forum post counts for each user in the user profile.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 18:43:08 +0000
parents 021492db4aad
children d0d779dd0832
line wrap: on
line diff
--- a/gpp/templates/forums/display_post.html	Sun Sep 13 18:05:18 2009 +0000
+++ b/gpp/templates/forums/display_post.html	Sun Sep 13 18:43:08 2009 +0000
@@ -4,6 +4,9 @@
       <a name="p{{ post.id }}"></a>
       <a href="{% url bio-view_profile username=post.user.username %}">{{ post.user.username }}</a><br />
       {% avatar post.user %}
+      Joined: {{ post.user.date_joined|date:"M d, Y" }}<br />
+      Posts: {{ post.user.get_profile.forum_post_count }}<br />
+      Location: {{ post.user.get_profile.location }}<br />
    </td>
    <td class="forum-post-body">
       <div class="forum-post-info quiet">