fnp
/
django-pagination.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix.
[django-pagination.git]
/
fnp_django_pagination
/
templates
/
pagination
/
pagination.html
diff --git
a/fnp_django_pagination/templates/pagination/pagination.html
b/fnp_django_pagination/templates/pagination/pagination.html
index
ea01b61
..
8ab929f
100644
(file)
--- 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 %}
{% if display_page_links %}
{% for page in pages %}
{% if page %}
- {% if
equal page
page_obj.number %}
+ {% if
page ==
page_obj.number %}
<span class="current page">{{ page }}</span>
{% else %}
{% if disable_link_for_first_page and page == 1 %}
<span class="current page">{{ page }}</span>
{% else %}
{% if disable_link_for_first_page and page == 1 %}
@@
-26,7
+26,7
@@
{% else %}
<a href="?page{{ page_suffix }}={{ page }}{{ getvars }}" class="page">{{ page }}</a>
{% endif %}
{% else %}
<a href="?page{{ page_suffix }}={{ page }}{{ getvars }}" class="page">{{ page }}</a>
{% endif %}
- {% endif
equal
%}
+ {% endif %}
{% else %}
...
{% endif %}
{% else %}
...
{% endif %}