diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-10 22:56:56 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-10 22:56:56 +0000 |
commit | b75afd49de85d69bf7c83e69bfeef1b3a2744060 (patch) | |
tree | 1bf475f2a36375e28ab50fbaedf6fb5dc4108c18 /lib | |
parent | 0cd08ed08cf7bf48364d98a5ca1d424801f641c0 (diff) | |
download | redmine-b75afd49de85d69bf7c83e69bfeef1b3a2744060.tar.gz redmine-b75afd49de85d69bf7c83e69bfeef1b3a2744060.zip |
gantt: code layout cleanup html_subject method of lib/redmine/helpers/gantt.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10347 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 7ef93b014..7fa27b72d 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -664,7 +664,9 @@ module Redmine def html_subject(params, subject, options={}) style = "position: absolute;top:#{params[:top]}px;left:#{params[:indent]}px;" style << "width:#{params[:subject_width] - params[:indent]}px;" if params[:subject_width] - output = view.content_tag 'div', subject, :class => options[:css], :style => style, :title => options[:title] + output = view.content_tag('div', subject, + :class => options[:css], :style => style, + :title => options[:title]) @subjects << output output end |