Skip to content
Snippets Groups Projects
Commit 0324924ebea0 authored by Arthur Lutz's avatar Arthur Lutz
Browse files

[views] use mid dot, not .

parent d60fe2d6642f
No related branches found
No related tags found
No related merge requests found
......@@ -191,9 +191,9 @@
current_page - page_padding)):
self.page_number(url_params, page, current_page, ul)
if current_page > (page_padding * 2) + 1:
ul(t.li(t.a("...")))
ul(t.li(t.a("·" * 3)))
for page in range(max(1, current_page - page_padding),
min(current_page + page_padding, total_pages)):
self.page_number(url_params, page, current_page, ul)
if current_page < total_pages - page_padding:
if current_page < total_pages - page_padding * 2:
......@@ -195,9 +195,9 @@
for page in range(max(1, current_page - page_padding),
min(current_page + page_padding, total_pages)):
self.page_number(url_params, page, current_page, ul)
if current_page < total_pages - page_padding:
if current_page < total_pages - page_padding * 2:
ul(t.li(t.a("...")))
ul(t.li(t.a("&middot" * 3)))
for page in range(max(current_page + page_padding,
total_pages - page_padding),
total_pages):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment