Mercurial > public > sg101
diff 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 |
line wrap: on
line diff
--- a/gpp/templates/forums/display_post.html Tue Mar 08 01:16:56 2011 +0000 +++ b/gpp/templates/forums/display_post.html Tue Mar 08 03:30:50 2011 +0000 @@ -1,7 +1,7 @@ {% load url from future %} {% load avatar_tags %} {% load forum_tags %} -<tr class="forum-post {% cycle 'odd' 'even' %}" id="post-{{ post.id }}"> +<tr class="forum-post {{ rowcolors }}" id="post-{{ post.id }}"> <td class="forum-post-author"> <a name="p{{ post.id }}"></a> <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 />