comparison gpp/templates/forums/topic.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 768e3568addf
children 2cb0cc334c50
comparison
equal deleted inserted replaced
376:6f963e5e7b03 377:59aaba88405e
27 &bull; <a href="{% url 'forums-new_topic' slug=forum.slug %}">New Topic</a> 27 &bull; <a href="{% url 'forums-new_topic' slug=forum.slug %}">New Topic</a>
28 {{ page_nav }} 28 {{ page_nav }}
29 29
30 <table class="forum-topic" id="forum-topic"> 30 <table class="forum-topic" id="forum-topic">
31 {% for post in page.object_list %} 31 {% for post in page.object_list %}
32 {% include 'forums/display_post.html' %} 32 <!-- {% cycle 'odd' 'even' as rowcolors %} -->
33 {% include 'forums/display_post.html' %}
33 {% endfor %} 34 {% endfor %}
34 </table> 35 </table>
35 {{ page_nav }} 36 {{ page_nav }}
36 {% include 'forums/jump_box.html' %} 37 {% include 'forums/jump_box.html' %}
37 {% if can_moderate %} 38 {% if can_moderate %}