diff options
author | Filipp Lepalaan <filipp@mac.com> | 2016-11-04 15:08:58 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2016-11-04 15:08:58 +0200 |
commit | c087462f4deec9650da7b965ef8ecfb2fece07f3 (patch) | |
tree | 536425b4865497b1dceb8f4a0c4d9c14b6ca1ec4 /servo/templates/pagination.html | |
parent | ba8b6375333e1f574970824ff243f84e6086a7c2 (diff) | |
download | Servo-c087462f4deec9650da7b965ef8ecfb2fece07f3.tar.gz Servo-c087462f4deec9650da7b965ef8ecfb2fece07f3.tar.bz2 Servo-c087462f4deec9650da7b965ef8ecfb2fece07f3.zip |
Cleanup
Diffstat (limited to 'servo/templates/pagination.html')
-rwxr-xr-x | servo/templates/pagination.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/servo/templates/pagination.html b/servo/templates/pagination.html index 5625b7c..9c99c95 100755 --- a/servo/templates/pagination.html +++ b/servo/templates/pagination.html @@ -2,17 +2,17 @@ {% load servo_tags %} <div class="pagination pagination-centered"> - <ul> - {% if items.has_previous %} - <li><a href="?{% paginator_page request items.previous_page_number %}"><span>«</span></a></li> - {% else %} - <li class="disabled"><a href="#"><span>«</span></a></li> - {% endif %} - <li class="active"><a href="#"><span>{% trans "Page" %} {{ items.number }}/{{ items.paginator.num_pages }}</span></a></li> - {% if items.has_next %} - <li><a href="?{% paginator_page request items.next_page_number %}"><span>»</span></a></li> - {% else %} - <li class="disabled"><a href="#"><span>»</span></a></li> - {% endif %} + <ul> + {% if items.has_previous %} + <li><a href="?{% paginator_page request items.previous_page_number %}"><span>«</span></a></li> + {% else %} + <li class="disabled"><a href="#"><span>«</span></a></li> + {% endif %} + <li class="active"><a href="#"><span>{% trans "Page" %} {{ items.number }}/{{ items.paginator.num_pages }}</span></a></li> + {% if items.has_next %} + <li><a href="?{% paginator_page request items.next_page_number %}"><span>»</span></a></li> + {% else %} + <li class="disabled"><a href="#"><span>»</span></a></li> + {% endif %} </ul> </div> |