Skip to content

Commit

Permalink
Move pagination outside the global div
Browse files Browse the repository at this point in the history
  • Loading branch information
diox committed Apr 27, 2010
1 parent b615392 commit e677749
Showing 1 changed file with 10 additions and 8 deletions.
Expand Up @@ -11,18 +11,20 @@
{% get_comment_count for object as comment_count %}
{% get_mptt_comment_toplevel_count for object as comment_toplevel_count %}
<h2>{% trans "Comments" %} {% blocktrans %}({{ comment_count }} comments in {{ comment_toplevel_count }} threads){% endblocktrans %}</h2>
<div id="mptt-comments-tree">
{% if not internal_pagination %}
{% paginate %}
{% endif %}
{% if not internal_pagination %}
{% paginate %}
{% endif %}
<div id="mptt-comments-tree">
{% for comment in comments %}
{% include "comments/alternate/display_comment_toplevel.html" %}
{% endfor %}
{% if not internal_pagination %}
{% paginate %}
{% endif %}
{# FIXME: else, fix "remaining" to use it in alternate mode #}


</div>
{% if not internal_pagination %}
{% paginate %}
{% endif %}
{# FIXME: else, fix "remaining" to use it in alternate mode #}
{% endif %}
<h2 id="post_new_comment">{% trans "Post a new comment" %}</h2>
<div class="new_comment_form_wrapper">
Expand Down

0 comments on commit e677749

Please sign in to comment.