comparison gpp/templates/forums/topic.html @ 394:2cb0cc334c50

Fixing #186; after upgrading to Django 1.3, can remove the kludge on the cycle tag in the forums topic.html template.
author Brian Neal <bgneal@gmail.com>
date Thu, 24 Mar 2011 00:49:21 +0000
parents 59aaba88405e
children 70722b7d10af
comparison
equal deleted inserted replaced
393:9af6bd45c1f8 394:2cb0cc334c50
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 <!-- {% cycle 'odd' 'even' as rowcolors %} --> 32 {% cycle 'odd' 'even' as rowcolors silent %}
33 {% include 'forums/display_post.html' %} 33 {% include 'forums/display_post.html' %}
34 {% endfor %} 34 {% endfor %}
35 </table> 35 </table>
36 {{ page_nav }} 36 {{ page_nav }}
37 {% include 'forums/jump_box.html' %} 37 {% include 'forums/jump_box.html' %}