comparison gpp/templates/forums/index.html @ 230:5ee9422ce83c

Fix lack of trailing slash on the individual forum RSS feed links. For some reason this was causing a bizarre middleware error 'request object has not attribute session'.
author Brian Neal <bgneal@gmail.com>
date Tue, 13 Jul 2010 03:51:37 +0000
parents 423c39ee44e0
children a46788862737
comparison
equal deleted inserted replaced
229:08b30ac04580 230:5ee9422ce83c
38 {% if forum.has_unread %} 38 {% if forum.has_unread %}
39 <img src="{{ MEDIA_URL }}icons/new.png" alt="New Posts" title="New Posts" class="forums-topic-icon" /> 39 <img src="{{ MEDIA_URL }}icons/new.png" alt="New Posts" title="New Posts" class="forums-topic-icon" />
40 {% endif %} 40 {% endif %}
41 <h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a> 41 <h4><a href="{{ forum.get_absolute_url }}">{{ forum.name }}</a>
42 {% if forum.has_feed %} 42 {% if forum.has_feed %}
43 <a href="/feeds/forums/{{ forum.slug }}"> 43 <a href="/feeds/forums/{{ forum.slug }}/">
44 <img src="{{ MEDIA_URL }}icons/feed.png" alt="RSS Feed" title="Feed for this forum" /></a> 44 <img src="{{ MEDIA_URL }}icons/feed.png" alt="RSS Feed" title="Feed for this forum" /></a>
45 {% endif %}</h4> 45 {% endif %}</h4>
46 <p>{{ forum.description }}</p></td> 46 <p>{{ forum.description }}</p></td>
47 <td class="forum-topics">{{ forum.topic_count }}</td> 47 <td class="forum-topics">{{ forum.topic_count }}</td>
48 <td class="forum-posts">{{ forum.post_count }}</td> 48 <td class="forum-posts">{{ forum.post_count }}</td>