Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
93:4c33e266db03 | 94:806399f3b950 |
---|---|
16 <th class="forum-last_post">Last Post</th> | 16 <th class="forum-last_post">Last Post</th> |
17 </tr> | 17 </tr> |
18 </thead> | 18 </thead> |
19 <tbody> | 19 <tbody> |
20 {% for forum in iter.forums %} | 20 {% for forum in iter.forums %} |
21 <tr> | 21 <tr class="{% cycle 'odd' 'even' %}"> |
22 <td><h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4> | 22 <td><h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a></h4> |
23 <p>{{ forum.description }}</p></td> | 23 <p>{{ forum.description }}</p></td> |
24 <td class="forum-topics">{{ forum.topic_count }}</td> | 24 <td class="forum-topics">{{ forum.topic_count }}</td> |
25 <td class="forum-posts">{{ forum.post_count }}</td> | 25 <td class="forum-posts">{{ forum.post_count }}</td> |
26 <td class="forum-last_post">{% last_post_info forum.last_post %}</td> | 26 <td class="forum-last_post">{% last_post_info forum.last_post MEDIA_URL %}</td> |
27 </tr> | 27 </tr> |
28 {% endfor %} | 28 {% endfor %} |
29 </tbody> | 29 </tbody> |
30 </table> | 30 </table> |
31 {% endfor %} | 31 {% endfor %} |