Mercurial > public > sg101
comparison gpp/templates/forums/manage_topics.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 | 21d2ca3b4bf7 |
children |
comparison
equal
deleted
inserted
replaced
282:39664e661c69 | 283:593fb6dbd449 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load forum_tags %} | |
2 {% block title %}Forums: {{ page_title }}{% endblock %} | 3 {% block title %}Forums: {{ page_title }}{% endblock %} |
3 {% block custom_js %} | 4 {% block custom_js %} |
4 <script type="text/javascript"> | 5 <script type="text/javascript"> |
5 //<![CDATA[ | 6 //<![CDATA[ |
6 $(document).ready(function() { | 7 $(document).ready(function() { |
25 //]]> | 26 //]]> |
26 </script> | 27 </script> |
27 {% include "forums/forum_query.js" %} | 28 {% include "forums/forum_query.js" %} |
28 {% endblock %} | 29 {% endblock %} |
29 {% block content %} | 30 {% block content %} |
30 <h2>Forums: {{ page_title }}</h2> | 31 {% forum_navigation page_title %} |
31 | |
32 <h3> | |
33 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » {{ page_title }} | |
34 </h3> | |
35 {% include "forums/forum_query.html" %} | 32 {% include "forums/forum_query.html" %} |
36 <p>{{ description }}</p> | 33 <p>{{ description }}</p> |
37 {% include 'forums/pagination.html' %} | 34 {% include 'forums/pagination.html' %} |
38 <form id="topic_form" action="." method="post">{% csrf_token %} | 35 <form id="topic_form" action="." method="post">{% csrf_token %} |
39 <table class="forum-topic-table"> | 36 <table class="forum-topic-table"> |