diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-17 19:39:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-12-17 19:39:32 +0000 |
commit | ab3330a945e410de568e8a824203a9c025d2d8b0 (patch) | |
tree | 14aca8ddd088ce3a9109ab843751b43fc175ba2c /lib/redmine/pagination.rb | |
parent | 7143bd6d27df3ca14f5fe99fa38ae11c42ecd940 (diff) | |
download | redmine-ab3330a945e410de568e8a824203a9c025d2d8b0.tar.gz redmine-ab3330a945e410de568e8a824203a9c025d2d8b0.zip |
All spaces after links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11030 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/pagination.rb')
-rw-r--r-- | lib/redmine/pagination.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/redmine/pagination.rb b/lib/redmine/pagination.rb index 8b8f24288..889e0f5cb 100644 --- a/lib/redmine/pagination.rb +++ b/lib/redmine/pagination.rb @@ -181,7 +181,7 @@ module Redmine previous = nil paginator.linked_pages.each do |page| if previous && previous != page - 1 - html << ' ... ' + html << '... ' end if page == paginator.page html << page.to_s @@ -194,13 +194,13 @@ module Redmine if paginator.next_page # \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 - 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) - html << " | #{links}" + html << "| #{links}" end html.html_safe |