diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-12-05 11:32:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2015-12-05 11:32:53 +0000 |
commit | 6a824ee2ec63a68a0c723dac0e1b6d8b30714075 (patch) | |
tree | d782700817f8d233081f7e5ff6c8fa6fe5142eb4 /lib | |
parent | 5f35caa6bfb8115ce388ad112321aa6a1945f7f6 (diff) | |
download | redmine-6a824ee2ec63a68a0c723dac0e1b6d8b30714075.tar.gz redmine-6a824ee2ec63a68a0c723dac0e1b6d8b30714075.zip |
Highlight current per-page selection (#21258).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@14949 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/pagination.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/pagination.rb b/lib/redmine/pagination.rb index f8d0ccd07..58ec516f2 100644 --- a/lib/redmine/pagination.rb +++ b/lib/redmine/pagination.rb @@ -236,7 +236,7 @@ module Redmine if values.any? links = values.collect do |n| if n == paginator.per_page - content_tag('span', n.to_s) + content_tag('span', n.to_s, :class => 'selected') else yield(n, :per_page => n, paginator.page_param => nil) end |