Skip to content

Commit

Permalink
pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
talavinari committed Sep 19, 2016
1 parent 1295520 commit 0323d6a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions committeeVotes/templates/committeeVotes/minister_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,9 @@ <h2>


{% for i in votes.paginator.page_range %}
{% if i <= (votes.number number + 5)%}
<li class="{% if votes.number == i %} active {% endif %}" >
<a href="?page={{i}}">{{i}}</a>
</li>
{% endif %}
{% endfor %}

{% if votes.has_next %}
Expand Down

0 comments on commit 0323d6a

Please sign in to comment.