bgneal@169: {% extends 'base.html' %}
bgneal@169: {% load forum_tags %}
bgneal@169: {% block title %}Forums: {{ title }}{% endblock %}
bgneal@169: {% block content %}
bgneal@169: <h2>Forums: {{ title }}</h2>
bgneal@169: <h3>
bgneal@169: <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> &raquo; {{ title }}
bgneal@169: </h3>
bgneal@169: <div class="forum-block">
bgneal@169: {{ page_nav }}
bgneal@169: {% if page.object_list %}
bgneal@169: <dl id="forums-post-list">
bgneal@169:    {% for post in page.object_list %}
bgneal@169:    <dt>
bgneal@169:       <a href="{{ post.topic.forum.get_absolute_url }}" title="Visit Forum">{{ post.topic.forum.name }}</a> &raquo;
bgneal@169:          <a href="{{ post.topic.get_absolute_url }}" title="Visit Topic">{{ post.topic.name }}</a> &raquo;
bgneal@169:          <a href="{{ post.get_absolute_url }}" title="View Post in Context">
bgneal@169:             {% forum_date post.creation_date user %}</a>
bgneal@169:    </dt>
bgneal@169:    <dd class="{% cycle 'odd' 'even' %}">
bgneal@169:       {{ post.html|safe }}
bgneal@169:    </dd>
bgneal@169:    {% endfor %}
bgneal@169: </dl>
bgneal@169: {% else %}
bgneal@169:    <h4>No posts found.</h4>
bgneal@169: {% endif %}
bgneal@169: {{ page_nav }}
bgneal@169: </div>
bgneal@169: {% endblock %}