Patch #21258 » highlight-current-per-page-selection.diff
| lib/redmine/pagination.rb (working copy) | ||
|---|---|---|
|
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
|
||
| public/stylesheets/application.css (working copy) | ||
|---|---|---|
|
color: inherit;
|
||
|
text-decoration: inherit;
|
||
|
}
|
||
|
.pagination .per-page span.selected {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
#search-form fieldset p {margin:0.2em 0;}
|
||