Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
95:23035afdeae8 | 96:93d9e74a471e |
---|---|
2 <tr class="forum-post {% cycle 'odd' 'even' %}"> | 2 <tr class="forum-post {% cycle 'odd' 'even' %}"> |
3 <td class="forum-post-author"> | 3 <td class="forum-post-author"> |
4 <a name="p{{ post.id }}"></a> | 4 <a name="p{{ post.id }}"></a> |
5 <a href="{% url bio-view_profile username=post.user.username %}">{{ post.user.username }}</a><br /> | 5 <a href="{% url bio-view_profile username=post.user.username %}">{{ post.user.username }}</a><br /> |
6 {% avatar post.user %} | 6 {% avatar post.user %} |
7 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br /> | |
8 Posts: {{ post.user.get_profile.forum_post_count }}<br /> | |
9 Location: {{ post.user.get_profile.location }}<br /> | |
7 </td> | 10 </td> |
8 <td class="forum-post-body"> | 11 <td class="forum-post-body"> |
9 <div class="forum-post-info quiet"> | 12 <div class="forum-post-info quiet"> |
10 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> | 13 <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> |
11 Posted on {{ post.creation_date|date:"M d, Y H:i" }} | 14 Posted on {{ post.creation_date|date:"M d, Y H:i" }} |