From ba3430ae38e94f7a67315f0b7eacce0ec81be467 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 19 Jun 2014 11:15:34 +0000 Subject: [PATCH] Fix paginator.html to work with tagpage --- gergelypolonkaiweb/templates/paginator.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gergelypolonkaiweb/templates/paginator.html b/gergelypolonkaiweb/templates/paginator.html index 16734d2..14d689b 100644 --- a/gergelypolonkaiweb/templates/paginator.html +++ b/gergelypolonkaiweb/templates/paginator.html @@ -1,19 +1,19 @@ {% if list.paginator.num_pages > 1 %}
{% if list.number > 1 %} - First + First {% endif %} {% if list.has_previous and list.number != 2 %} - Previous + Previous {% endif %} {% for i in posts.paginator.page_range %} - {% if list.number != i %}{% endif %}{{ i }}{% if list.number != i %}{% endif %} + {% if list.number != i %}{% endif %}{{ i }}{% if list.number != i %}{% endif %} {% endfor %} {% if list.has_next and list.number != list.paginator.num_pages|add:-1 %} - Next + Next {% endif %} {% if list.number < list.paginator.num_pages %} - Last + Last {% endif %}
{% endif %}