Mercurial > public > sg101
diff gpp/templates/forums/forum_index.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 | daa2916f5b34 |
children | 3c48a555298d |
line wrap: on
line diff
--- a/gpp/templates/forums/forum_index.html Fri Mar 04 02:41:49 2011 +0000 +++ b/gpp/templates/forums/forum_index.html Fri Mar 04 03:50:07 2011 +0000 @@ -2,9 +2,10 @@ {% load url from future %} {% load forum_tags %} {% block custom_head %} -{% if feed %} -<link rel="alternate" type="application/rss+xml" title="{{ feed.name }}" href="{{ feed.feed }}" /> -{% endif %} + {% if feed %} + <link rel="alternate" type="application/rss+xml" title="{{ feed.name }}" href="{{ feed.feed }}" /> + {% endif %} + {% include "forums/jump_box.js" %} {% endblock %} {% block title %}Forums: {{ forum.name }}{% endblock %} {% block content %} @@ -55,6 +56,7 @@ </tbody> </table> {{ page_nav }} +{% include 'forums/jump_box.html' %} {% if user.is_authenticated %} <a href="{% url 'forums-new_topic' slug=forum.slug %}">New Topic</a> • <form action="{% url 'forums-catchup' slug=forum.slug %}" method="post" style="display:inline">{% csrf_token %}