- <table class="list-table">
- <tr>
- <td class="list-td">
- {% for user in users.object_list %}
-
- <div class="user">
- <ul>
- <li class="thumb"><a href="{{ user.get_profile_url }} ">{% gravatar user 32 %}</a></li>
- <li><a {% if user.is_suspended %}class="suspended-user" {% endif %}href="{{ user.get_profile_url }}">{{ user.username }}</a></li>
- <li>{% get_score_badge user %}</li>
- </ul>
- </div>
-
- {% if forloop.counter|divisibleby:"7" %}
- </td>
- <td>
- {% endif %}
-
- {% endfor %}
- </td>
- </tr>
- </table>
+ {% for user in users.paginator.page %}
+ <div class="user">
+ <ul>
+ <li class="thumb"><a href="{{ user.get_profile_url }} ">{% gravatar user 32 %}</a></li>
+ <li><a {% if user.is_suspended %}class="suspended-user" {% endif %}href="{{ user.get_profile_url }}">{{ user.decorated_name }}</a></li>
+ <li>{% get_score_badge user %}</li>
+ </ul>
+ </div>
+ {% endfor %}