gantt: code layout cleanup line_for_issue method of lib/redmine/helpers/gantt.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10346 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-09-10 22:56:15 +00:00
parent ad71bffe34
commit 0cd08ed08c
1 changed files with 5 additions and 2 deletions

View File

@ -356,7 +356,10 @@ module Redmine
label = "#{issue.status.name} #{issue.done_ratio}%"
case options[:format]
when :html
html_task(options, coords, :css => "task " + (issue.leaf? ? 'leaf' : 'parent'), :label => label, :issue => issue, :markers => !issue.leaf?)
html_task(options, coords,
:css => "task " + (issue.leaf? ? 'leaf' : 'parent'),
:label => label, :issue => issue,
:markers => !issue.leaf?)
when :image
image_task(options, coords, :label => label)
when :pdf