X-Git-Url: https://git.mdrn.pl/django-pagination.git/blobdiff_plain/54241b106f24f16aa26678e31280fb2e8beff943..bb6b9042d8950e58322dc66497678c5fdb150a4f:/fnp_django_pagination/templates/pagination/pagination.html?ds=sidebyside
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 %}