1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 12:49:38 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2015-12-05 11:32:53 +00:00
parent 5f35caa6bf
commit 6a824ee2ec
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -316,6 +316,9 @@ span.search_for_watchers a, span.add_attachment a {padding-left:16px; background
word-wrap: break-word;
border-radius: 3px;
}
.pagination .per-page span.selected {
font-weight: bold;
}
div.square {
border: 1px solid #999;