bgneal@82: {% extends 'base.html' %} bgneal@84: {% load forum_tags %} bgneal@82: {% block title %}Forums: {{ forum.name }}{% endblock %} bgneal@82: {% block content %} bgneal@82: <h2>Forums: {{ forum.name }}</h2> bgneal@82: bgneal@82: <h3> bgneal@82: <a href="{% url forums-index %}">SurfGuitar101 Forum Index</a> » bgneal@82: <a href="{% url forums-forum_index slug=forum.slug %}">{{ forum.name }}</a> bgneal@82: </h3> bgneal@82: bgneal@82: <div class="forum-block"> bgneal@93: <a href="{% url forums-new_topic slug=forum.slug %}">New Topic</a> bgneal@93: {% forum_page_navigation page %} bgneal@82: <table class="forum-index-table"> bgneal@82: <thead> bgneal@82: <tr> bgneal@82: <th class="forum-index_title">Topics</th> bgneal@82: <th class="forum-index_replies">Replies</th> bgneal@82: <th class="forum-index_author">Author</th> bgneal@82: <th class="forum-index_views">Views</th> bgneal@82: <th class="forum-index_last_post">Last Post</th> bgneal@82: </tr> bgneal@82: </thead> bgneal@82: <tbody> bgneal@93: {% for topic in page.object_list %} bgneal@93: <tr class="{% cycle 'odd' 'even' %}"> bgneal@82: <td><h4><a href="{{ topic.get_absolute_url }}">{{ topic.name }}</a></h4></td> bgneal@83: <td class="forum-index_replies">{{ topic.reply_count }}</td> bgneal@85: <td class="forum-index_author"><a href="{% url bio-view_profile username=topic.user.username %}" title="View profile for {{ topic.user.username }}">{{ topic.user.username }}</a></td> bgneal@82: <td class="forum-index_views">{{ topic.view_count }}</td> bgneal@82: <td class="forum-index_last_post"> bgneal@94: {% last_post_info topic.last_post MEDIA_URL %} bgneal@82: </td> bgneal@82: </tr> bgneal@82: {% empty %} bgneal@82: <tr> bgneal@82: <td colspan="4"> bgneal@82: <i>No topics available.</i> bgneal@82: </td> bgneal@82: </tr> bgneal@82: {% endfor %} bgneal@82: </tbody> bgneal@82: </table> bgneal@93: {% forum_page_navigation page %} bgneal@82: </div> bgneal@82: {% endblock %}