Highlight active issue query in the sidebar.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8660 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
61bd06dde7
commit
0dcc879b3c
|
@ -146,7 +146,9 @@ module IssuesHelper
|
||||||
|
|
||||||
content_tag('h3', h(title)) +
|
content_tag('h3', h(title)) +
|
||||||
queries.collect {|query|
|
queries.collect {|query|
|
||||||
link_to(h(query.name), url_params.merge(:query_id => query))
|
css = 'query'
|
||||||
|
css << ' selected' if query == @query
|
||||||
|
link_to(h(query.name), url_params.merge(:query_id => query), :class => css)
|
||||||
}.join('<br />').html_safe
|
}.join('<br />').html_safe
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue