Skip to content

Commit

Permalink
Fix pagination links in sounds list page
Browse files Browse the repository at this point in the history
  • Loading branch information
oriolromani committed Mar 16, 2017
1 parent 40c4fb4 commit abe7bb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions annotation/templates/annotationapp/sounds_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
{% endfor %}
<div class="pagination">
{% if sounds_list.has_previous %}
<a href="?page={{ sounds_list.previous_page_number }}&{{ request.GET.urlencode }}">previous</a>
<a href="?page={{ sounds_list.previous_page_number }}">previous</a>
{% endif %}

<span class="current">
Page {{ sounds_list.number }} of {{ sounds_list.paginator.num_pages }}.
</span>

{% if sounds_list.has_next %}
<a href="?page={{ sounds_list.next_page_number }}&{{ request.GET.urlencode }}">next</a>
<a href="?page={{ sounds_list.next_page_number }}">next</a>
{% endif %}
</div>
{% endif %}
Expand Down

0 comments on commit abe7bb7

Please sign in to comment.