diff gpp/templates/forums/forum_index.html @ 283:593fb6dbd449

Fixing #125. Developed a forums navigation template tag to consistently display forum navigation.
author Brian Neal <bgneal@gmail.com>
date Mon, 04 Oct 2010 00:57:58 +0000
parents 307a74e28112
children daa2916f5b34
line wrap: on
line diff
--- a/gpp/templates/forums/forum_index.html	Mon Oct 04 00:56:54 2010 +0000
+++ b/gpp/templates/forums/forum_index.html	Mon Oct 04 00:57:58 2010 +0000
@@ -7,16 +7,7 @@
 {% endblock %}
 {% block title %}Forums: {{ forum.name }}{% endblock %}
 {% block content %}
-<h2>Forums: {{ forum.name }}
-   {% if feed %}
-   <a href="{{ feed.feed }}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="RSS Feed" title="Feed for this forum" /></a>
-   {% endif %}
-</h2>
-
-<h3>
-   <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
-   <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a>
-</h3>
+{% forum_navigation forum %}
 
 <div class="forum-block">
 {% if user.is_authenticated %}