Mercurial > public > sg101
diff gpp/templates/forums/display_post.html @ 89:021492db4aad
Forums: Got the reply function working.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 12 Sep 2009 21:29:31 +0000 |
parents | |
children | 93d9e74a471e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/forums/display_post.html Sat Sep 12 21:29:31 2009 +0000 @@ -0,0 +1,17 @@ +{% load avatar_tags %} +<tr class="forum-post {% cycle 'odd' 'even' %}"> + <td class="forum-post-author"> + <a name="p{{ post.id }}"></a> + <a href="{% url bio-view_profile username=post.user.username %}">{{ post.user.username }}</a><br /> + {% avatar post.user %} + </td> + <td class="forum-post-body"> + <div class="forum-post-info quiet"> + <a href="{{ post.get_absolute_url }}"><img src="{{ MEDIA_URL }}icons/link.png" alt="Link" title="Link to this post" /></a> + Posted on {{ post.creation_date|date:"M d, Y H:i" }} + </div> + <div class="forum-post-body"> + {{ post.html|safe }} + </div> + </td> +</tr>