diff gpp/templates/forums/topic.html @ 358:768e3568addf

Fixing #172; add a forums jump box.
author Brian Neal <bgneal@gmail.com>
date Fri, 04 Mar 2011 03:50:07 +0000
parents cfad8d605cb8
children 59aaba88405e
line wrap: on
line diff
--- a/gpp/templates/forums/topic.html	Fri Mar 04 02:41:49 2011 +0000
+++ b/gpp/templates/forums/topic.html	Fri Mar 04 03:50:07 2011 +0000
@@ -2,7 +2,10 @@
 {% load url from future %}
 {% load forum_tags %}
 {% block title %}Forums: {{ topic.name }}{% endblock %}
-{% block custom_js %}{{ form.media }}{% endblock %}
+{% block custom_js %}
+   {{ form.media }}
+   {% include "forums/jump_box.js" %}
+{% endblock %}
 {% block content %}
 {% forum_navigation topic %}
 
@@ -30,6 +33,7 @@
 {% endfor %}
 </table>
 {{ page_nav }}
+{% include 'forums/jump_box.html' %}
 {% if can_moderate %}
 <div class="forum-mod-controls">
    <form action="{% url 'forums-mod_topic_stick' topic.id %}" method="post">{% csrf_token %}