From b75afd49de85d69bf7c83e69bfeef1b3a2744060 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 10 Sep 2012 22:56:56 +0000 Subject: [PATCH] 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 --- lib/redmine/helpers/gantt.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5