diff --git a/templates/paginator.html b/templates/paginator.html index 21455e707..f322d9405 100644 --- a/templates/paginator.html +++ b/templates/paginator.html @@ -1,44 +1,38 @@ -
-
- - -
-
-
-
    +
    +
    +
      - {% if contacts.has_previous %} - + {% if contacts.has_previous %} + + {% else %} + + {% endif %} + {% ifequal show_first 1 %} +
    • 1...
    • + {% endifequal %} + {% for page in page_range %} + {% ifequal current_page page %} +
    • {{ page }}
    • {% else %} - - {% endif %} - {% ifequal show_first 1 %} -
    • 1...
    • +
    • {{ page }}
    • {% endifequal %} - {% for page in page_range %} - {% ifequal current_page page %} -
    • {{ page }}
    • - {% else %} -
    • {{ page }}
    • - {% endifequal %} - {% endfor %} - {% ifequal show_end 1 %} -
    • ...{{ p.num_pages }}
    • - {% endifequal %} - {% if contacts.has_next %} - - {% else %} - - {% endif %} -
    -
    + {% endfor %} + {% ifequal show_end 1 %} +
  • ...{{ p.num_pages }}
  • + {% endifequal %} + {% if contacts.has_next %} + + {% else %} + + {% endif %} +
-
\ No newline at end of file +