code format clean up ApplicationHelper#link_to_issue
git-svn-id: http://svn.redmine.org/redmine/trunk@12808 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
bd6d45428f
commit
f44c32557c
|
@ -80,7 +80,8 @@ module ApplicationHelper
|
|||
end
|
||||
end
|
||||
only_path = options[:only_path].nil? ? true : options[:only_path]
|
||||
s = link_to text, issue_path(issue, :only_path => only_path), :class => issue.css_classes, :title => title
|
||||
s = link_to(text, issue_path(issue, :only_path => only_path),
|
||||
:class => issue.css_classes, :title => title)
|
||||
s << h(": #{subject}") if subject
|
||||
s = h("#{issue.project} - ") + s if options[:project]
|
||||
s
|
||||
|
|
Loading…
Reference in New Issue