mirror of
https://github.com/redmine/redmine.git
synced 2025-12-24 01:10:38 +01:00
Adapt pagination for smaller screens (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14947 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -220,11 +220,12 @@ module Redmine
|
||||
end
|
||||
html << '</ul>'
|
||||
|
||||
html << content_tag('span', "(#{paginator.first_item}-#{paginator.last_item}/#{paginator.item_count})", :class => 'items') + ' '
|
||||
|
||||
info = ''.html_safe
|
||||
info << content_tag('span', "(#{paginator.first_item}-#{paginator.last_item}/#{paginator.item_count})", :class => 'items') + ' '
|
||||
if per_page_links != false && links = per_page_links(paginator, &block)
|
||||
html << content_tag('span', links.to_s, :class => 'per-page')
|
||||
info << content_tag('span', links.to_s, :class => 'per-page')
|
||||
end
|
||||
html << content_tag('span', info)
|
||||
|
||||
html.html_safe
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user