Project

General

Profile

Patch #21258 » highlight-current-per-page-selection.diff

Go MAEDA, 2015-11-29 06:01

View differences:

lib/redmine/pagination.rb (working copy)
235 235
        if values.any?
236 236
          links = values.collect do |n|
237 237
            if n == paginator.per_page
238
              content_tag('span', n.to_s)
238
              content_tag('span', n.to_s, :class => 'selected')
239 239
            else
240 240
              yield(n, :per_page => n, paginator.page_param => nil)
241 241
            end
public/stylesheets/application.css (working copy)
532 532
  color: inherit;
533 533
  text-decoration: inherit;
534 534
}
535
.pagination .per-page span.selected {
536
  font-weight: bold;
537
}
535 538

  
536 539
#search-form fieldset p {margin:0.2em 0;}
537 540

  
(4-4/5)