comparison gpp/templates/forums/forum_index.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 307a74e28112
children daa2916f5b34
comparison
equal deleted inserted replaced
282:39664e661c69 283:593fb6dbd449
5 <link rel="alternate" type="application/rss+xml" title="{{ feed.name }}" href="{{ feed.feed }}" /> 5 <link rel="alternate" type="application/rss+xml" title="{{ feed.name }}" href="{{ feed.feed }}" />
6 {% endif %} 6 {% endif %}
7 {% endblock %} 7 {% endblock %}
8 {% block title %}Forums: {{ forum.name }}{% endblock %} 8 {% block title %}Forums: {{ forum.name }}{% endblock %}
9 {% block content %} 9 {% block content %}
10 <h2>Forums: {{ forum.name }} 10 {% forum_navigation forum %}
11 {% if feed %}
12 <a href="{{ feed.feed }}"><img src="{{ MEDIA_URL }}icons/feed.png" alt="RSS Feed" title="Feed for this forum" /></a>
13 {% endif %}
14 </h2>
15
16 <h3>
17 <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo;
18 <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a>
19 </h3>
20 11
21 <div class="forum-block"> 12 <div class="forum-block">
22 {% if user.is_authenticated %} 13 {% if user.is_authenticated %}
23 <a href="{% url forums-new_topic slug=forum.slug %}">New Topic</a> &bull; 14 <a href="{% url forums-new_topic slug=forum.slug %}">New Topic</a> &bull;
24 <form action="{% url forums-catchup slug=forum.slug %}" method="post" style="display:inline">{% csrf_token %} 15 <form action="{% url forums-catchup slug=forum.slug %}" method="post" style="display:inline">{% csrf_token %}