Mercurial > public > sg101
diff gpp/templates/forums/topic.html @ 93:4c33e266db03
Forums: paginate the topic list inside a forum.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 13 Sep 2009 04:33:15 +0000 |
parents | 317c7bcaecee |
children | 96eec1ed0fd3 |
line wrap: on
line diff
--- a/gpp/templates/forums/topic.html Sun Sep 13 04:09:08 2009 +0000 +++ b/gpp/templates/forums/topic.html Sun Sep 13 04:33:15 2009 +0000 @@ -18,14 +18,14 @@ <a href="./?page={{ page.paginator.num_pages }}#forum-reply-form">New Reply</a> • {% endif %} <a href="{% url forums-new_topic slug=forum.slug %}">New Topic</a> -{% post_navigation page %} +{% forum_page_navigation page %} <table class="forum-topic" id="forum-topic"> {% for post in page.object_list %} {% include 'forums/display_post.html' %} {% endfor %} </table> -{% post_navigation page %} +{% forum_page_navigation page %} {% if last_page and user.is_authenticated %} <a name="forum-reply-form"></a>