All spaces after links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11030 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7143bd6d27
commit
ab3330a945
|
@ -181,7 +181,7 @@ module Redmine
|
||||||
previous = nil
|
previous = nil
|
||||||
paginator.linked_pages.each do |page|
|
paginator.linked_pages.each do |page|
|
||||||
if previous && previous != page - 1
|
if previous && previous != page - 1
|
||||||
html << ' ... '
|
html << '... '
|
||||||
end
|
end
|
||||||
if page == paginator.page
|
if page == paginator.page
|
||||||
html << page.to_s
|
html << page.to_s
|
||||||
|
@ -194,13 +194,13 @@ module Redmine
|
||||||
|
|
||||||
if paginator.next_page
|
if paginator.next_page
|
||||||
# \xc2\xbb(utf-8) = »
|
# \xc2\xbb(utf-8) = »
|
||||||
html << ' ' + link_to(l(:label_next) + " \xc2\xbb", page_param => paginator.next_page)
|
html << link_to(l(:label_next) + " \xc2\xbb", page_param => paginator.next_page) + ' '
|
||||||
end
|
end
|
||||||
|
|
||||||
html << " (#{paginator.first_item}-#{paginator.last_item}/#{paginator.item_count})"
|
html << "(#{paginator.first_item}-#{paginator.last_item}/#{paginator.item_count}) "
|
||||||
|
|
||||||
if per_page_links != false && links = per_page_links(paginator.per_page, paginator.item_count, &block)
|
if per_page_links != false && links = per_page_links(paginator.per_page, paginator.item_count, &block)
|
||||||
html << " | #{links}"
|
html << "| #{links}"
|
||||||
end
|
end
|
||||||
|
|
||||||
html.html_safe
|
html.html_safe
|
||||||
|
|
Loading…
Reference in New Issue