diff gpp/templates/forums/index.html @ 94:806399f3b950

Forums: minor cosmetic tweaks mainly.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Sep 2009 05:01:52 +0000
parents 9e5e52556d5b
children d97ceb95ce02
line wrap: on
line diff
--- a/gpp/templates/forums/index.html	Sun Sep 13 04:33:15 2009 +0000
+++ b/gpp/templates/forums/index.html	Sun Sep 13 05:01:52 2009 +0000
@@ -18,12 +18,12 @@
       </thead>
       <tbody>
          {% for forum in iter.forums %}
-            <tr>
+            <tr class="{% cycle 'odd' 'even' %}">
                <td><h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4>
                   <p>{{ forum.description }}</p></td>
                <td class="forum-topics">{{ forum.topic_count }}</td>
                <td class="forum-posts">{{ forum.post_count }}</td>
-               <td class="forum-last_post">{% last_post_info forum.last_post %}</td>
+               <td class="forum-last_post">{% last_post_info forum.last_post MEDIA_URL %}</td>
             </tr>
          {% endfor %}
       </tbody>