镜像来自
https://github.com/redmine/redmine.git
synced 2024-08-26 05:57:38 +02:00
html_safe for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8268 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
父節點
8677f069ec
當前提交
a42ea3ccbb
@ -147,11 +147,11 @@ module IssuesHelper
|
||||
content_tag('h3', h(title)) +
|
||||
queries.collect {|query|
|
||||
link_to(h(query.name), url_params.merge(:query_id => query))
|
||||
}.join('<br />')
|
||||
}.join('<br />').html_safe
|
||||
end
|
||||
|
||||
def render_sidebar_queries
|
||||
out = ''
|
||||
out = ''.html_safe
|
||||
queries = sidebar_queries.select {|q| !q.is_public?}
|
||||
out << query_links(l(:label_my_queries), queries) if queries.any?
|
||||
queries = sidebar_queries.select {|q| q.is_public?}
|
||||
|
Loading…
Reference in New Issue
Block a user