X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/abf535d21fd19b257e5d6fecfd60e470cc12de7f..c6ab102c7d35bd0a3096f7afc0fc403e5feec9a7:/fnp_django_pagination/templates/pagination/pagination.html?page%7B%7B%20page_suffix%20%7D%7D=%7B%7B%20page%20%7D%7D%7B%7B%20getvars%20%7D%7D
diff --git a/fnp_django_pagination/templates/pagination/pagination.html b/fnp_django_pagination/templates/pagination/pagination.html
index ea01b61..8ab929f 100644
--- a/fnp_django_pagination/templates/pagination/pagination.html
+++ b/fnp_django_pagination/templates/pagination/pagination.html
@@ -18,7 +18,7 @@
{% if display_page_links %}
{% for page in pages %}
{% if page %}
- {% ifequal page page_obj.number %}
+ {% if page == page_obj.number %}
{{ page }}
{% else %}
{% if disable_link_for_first_page and page == 1 %}
@@ -26,7 +26,7 @@
{% else %}
{{ page }}
{% endif %}
- {% endifequal %}
+ {% endif %}
{% else %}
...
{% endif %}