comparison gpp/templates/forums/mod_forum.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 6a5549c2efb5
children daa2916f5b34
comparison
equal deleted inserted replaced
282:39664e661c69 283:593fb6dbd449
3 {% block title %}Moderate Forum: {{ forum.name }}{% endblock %} 3 {% block title %}Moderate Forum: {{ forum.name }}{% endblock %}
4 {% block custom_js %} 4 {% block custom_js %}
5 <script type="text/javascript" src="{{ MEDIA_URL }}js/forums_mod.js"></script> 5 <script type="text/javascript" src="{{ MEDIA_URL }}js/forums_mod.js"></script>
6 {% endblock %} 6 {% endblock %}
7 {% block content %} 7 {% block content %}
8 <h2>Moderate Forum: {{ forum.name }}</h2> 8 {% forum_navigation forum "Moderate Forum" %}
9
10 <h3>
11 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
12 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a>
13 </h3>
14 9
15 <div class="forum-block"> 10 <div class="forum-block">
16 {{ page_nav }} 11 {{ page_nav }}
17 <form action="." method="post">{% csrf_token %} 12 <form action="." method="post">{% csrf_token %}
18 <table class="forum-index-table"> 13 <table class="forum-index-table">