Mercurial > public > sg101
comparison gpp/templates/forums/forum_index.html @ 85:531fcc342a03
Forums: put the forum indices under the url forums/forum to avoid clashing with other functions. Modified the forum index template to have a link to the topic creator's profile.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 30 Aug 2009 19:58:42 +0000 |
parents | 9e5e52556d5b |
children | 4c33e266db03 |
comparison
equal
deleted
inserted
replaced
84:9e5e52556d5b | 85:531fcc342a03 |
---|---|
24 <tbody> | 24 <tbody> |
25 {% for topic in topics %} | 25 {% for topic in topics %} |
26 <tr> | 26 <tr> |
27 <td><h4><a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a></h4></td> | 27 <td><h4><a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a></h4></td> |
28 <td class="forum-index_replies">{{ topic.reply_count }}</td> | 28 <td class="forum-index_replies">{{ topic.reply_count }}</td> |
29 <td class="forum-index_author">{{ topic.user.username }}</td> | 29 <td class="forum-index_author"><a href="{% url bio-view_profile username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a></td> |
30 <td class="forum-index_views">{{ topic.view_count }}</td> | 30 <td class="forum-index_views">{{ topic.view_count }}</td> |
31 <td class="forum-index_last_post"> | 31 <td class="forum-index_last_post"> |
32 {% last_post_info topic.last_post %} | 32 {% last_post_info topic.last_post %} |
33 </td> | 33 </td> |
34 </tr> | 34 </tr> |