diff gpp/templates/forums/topic.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 6dde069debd4
children 8fd4984d5c3b
line wrap: on
line diff
--- a/gpp/templates/forums/topic.html	Mon Oct 04 00:56:54 2010 +0000
+++ b/gpp/templates/forums/topic.html	Mon Oct 04 00:57:58 2010 +0000
@@ -3,13 +3,7 @@
 {% block title %}Forums: {{ topic.name }}{% endblock %}
 {% block custom_js %}{{ form.media }}{% endblock %}
 {% block content %}
-<h2>Forums: {{ topic.name }}</h2>
-
-<h3>
-   <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
-   <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> &raquo;
-   <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a>
-</h3>
+{% forum_navigation topic %}
 
 <div class="forum-block">
 {% if topic.sticky %}