##// END OF EJS Templates
Highlight current per-page selection (#21258)....
Jean-Philippe Lang -
r14567:6a824ee2ec63
parent child
Show More
@@ -236,7 +236,7 module Redmine
236 if values.any?
236 if values.any?
237 links = values.collect do |n|
237 links = values.collect do |n|
238 if n == paginator.per_page
238 if n == paginator.per_page
239 content_tag('span', n.to_s)
239 content_tag('span', n.to_s, :class => 'selected')
240 else
240 else
241 yield(n, :per_page => n, paginator.page_param => nil)
241 yield(n, :per_page => n, paginator.page_param => nil)
242 end
242 end
@@ -316,6 +316,9 span.search_for_watchers a, span.add_attachment a {padding-left:16px; background
316 word-wrap: break-word;
316 word-wrap: break-word;
317 border-radius: 3px;
317 border-radius: 3px;
318 }
318 }
319 .pagination .per-page span.selected {
320 font-weight: bold;
321 }
319
322
320 div.square {
323 div.square {
321 border: 1px solid #999;
324 border: 1px solid #999;
General Comments 0
You need to be logged in to leave comments. Login now