@@ -181,7 +181,7 module Redmine | |||||
181 | previous = nil |
|
181 | previous = nil | |
182 | paginator.linked_pages.each do |page| |
|
182 | paginator.linked_pages.each do |page| | |
183 | if previous && previous != page - 1 |
|
183 | if previous && previous != page - 1 | |
184 |
html << ' |
|
184 | html << '... ' | |
185 | end |
|
185 | end | |
186 | if page == paginator.page |
|
186 | if page == paginator.page | |
187 | html << page.to_s |
|
187 | html << page.to_s | |
@@ -194,13 +194,13 module Redmine | |||||
194 |
|
194 | |||
195 | if paginator.next_page |
|
195 | if paginator.next_page | |
196 | # \xc2\xbb(utf-8) = » |
|
196 | # \xc2\xbb(utf-8) = » | |
197 |
html << |
|
197 | html << link_to(l(:label_next) + " \xc2\xbb", page_param => paginator.next_page) + ' ' | |
198 | end |
|
198 | end | |
199 |
|
199 | |||
200 |
html << " |
|
200 | html << "(#{paginator.first_item}-#{paginator.last_item}/#{paginator.item_count}) " | |
201 |
|
201 | |||
202 | if per_page_links != false && links = per_page_links(paginator.per_page, paginator.item_count, &block) |
|
202 | if per_page_links != false && links = per_page_links(paginator.per_page, paginator.item_count, &block) | |
203 |
html << " |
|
203 | html << "| #{links}" | |
204 | end |
|
204 | end | |
205 |
|
205 | |||
206 | html.html_safe |
|
206 | html.html_safe |
General Comments 0
You need to be logged in to leave comments.
Login now