Mercurial > public > sg101
comparison 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 |
comparison
equal
deleted
inserted
replaced
282:39664e661c69 | 283:593fb6dbd449 |
---|---|
1 {% extends 'base.html' %} | 1 {% extends 'base.html' %} |
2 {% load forum_tags %} | 2 {% load forum_tags %} |
3 {% block title %}Forums: {{ topic.name }}{% endblock %} | 3 {% block title %}Forums: {{ topic.name }}{% endblock %} |
4 {% block custom_js %}{{ form.media }}{% endblock %} | 4 {% block custom_js %}{{ form.media }}{% endblock %} |
5 {% block content %} | 5 {% block content %} |
6 <h2>Forums: {{ topic.name }}</h2> | 6 {% forum_navigation topic %} |
7 | |
8 <h3> | |
9 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » | |
10 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> » | |
11 <a href="{% url forums-topic_index id=topic.id %}">{{ topic.name }}</a> | |
12 </h3> | |
13 | 7 |
14 <div class="forum-block"> | 8 <div class="forum-block"> |
15 {% if topic.sticky %} | 9 {% if topic.sticky %} |
16 <img src="{{ MEDIA_URL }}/icons/asterisk_orange.png" alt="Sticky" title="Sticky" /> | 10 <img src="{{ MEDIA_URL }}/icons/asterisk_orange.png" alt="Sticky" title="Sticky" /> |
17 {% endif %} | 11 {% endif %} |