comparison gpp/templates/forums/display_post.html @ 377:59aaba88405e

Trying a tweak to put background colors on posts in topics.
author Brian Neal <bgneal@gmail.com>
date Tue, 08 Mar 2011 03:30:50 +0000
parents 7eed448b399c
children 3c48a555298d
comparison
equal deleted inserted replaced
376:6f963e5e7b03 377:59aaba88405e
1 {% load url from future %} 1 {% load url from future %}
2 {% load avatar_tags %} 2 {% load avatar_tags %}
3 {% load forum_tags %} 3 {% load forum_tags %}
4 <tr class="forum-post {% cycle 'odd' 'even' %}" id="post-{{ post.id }}"> 4 <tr class="forum-post {{ rowcolors }}" id="post-{{ post.id }}">
5 <td class="forum-post-author"> 5 <td class="forum-post-author">
6 <a name="p{{ post.id }}"></a> 6 <a name="p{{ post.id }}"></a>
7 <a href="{% url 'bio-view_profile' username=post.user.username %}" title="View Profile for {{ post.user.username }}"><span class="post-author">{{ post.user.username }}</span></a><br /> 7 <a href="{% url 'bio-view_profile' username=post.user.username %}" title="View Profile for {{ post.user.username }}"><span class="post-author">{{ post.user.username }}</span></a><br />
8 <a href="{% url 'bio-view_profile' username=post.user.username %}">{% avatar post.user %}</a><br /> 8 <a href="{% url 'bio-view_profile' username=post.user.username %}">{% avatar post.user %}</a><br />
9 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br /> 9 Joined: {{ post.user.date_joined|date:"M d, Y" }}<br />