From ab3330a945e410de568e8a824203a9c025d2d8b0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 17 Dec 2012 19:39:32 +0000 Subject: [PATCH] All spaces after links. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11030 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/redmine/pagination.rb | 8 ++++---- 1 file 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