Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #319 from staticdev/urtzai-issue-318
Browse files Browse the repository at this point in the history
fix: issue #318
  • Loading branch information
staticdev authored Nov 8, 2022
2 parents 106f702 + 04e7c11 commit 449088f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/django_pagination_bootstrap/templates/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
{% endif %}
{% for page in pages %}
{% if page %}
{% ifequal page page_obj.number %}
{% if page == page_obj.number %}
<li class="page-item active"><a class="page-link" href="#" onclick="javascript: return false;">{{ page }}</a></li>
{% else %}
<li class="page-item"><a class="page-link" href="?page={{ page }}{{ getvars }}{{ hashtag }}">{{ page }}</a></li>
{% endifequal %}
{% endif %}
{% else %}
<li class="page-item disabled"><a class="page-link" href="#" onclick="javascript: return false;">...</a></li>
{% endif %}
Expand Down

0 comments on commit 449088f

Please # to comment.