diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-11 01:53:34 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-11 01:53:34 +0000 |
commit | 3f7a7d9b149fb6192dd78371d14c6ec7d5c6f6d9 (patch) | |
tree | 82484d3fd49414e3f4b74049ec88caced709251e | |
parent | 66f881aad385e33ee3b4d60c21cbe287cc9c17da (diff) | |
download | redmine-3f7a7d9b149fb6192dd78371d14c6ec7d5c6f6d9.tar.gz redmine-3f7a7d9b149fb6192dd78371d14c6ec7d5c6f6d9.zip |
gantt: fix unit gantt helper test fails
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10356 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 59b40fc16..5550970cd 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -706,18 +706,18 @@ module Redmine if coords[:bar_start] && coords[:bar_end] width = coords[:bar_end] - coords[:bar_start] - 2 style = "" - style << "top: #{params[:top]}px;" - style << "left: #{coords[:bar_start]}px;" - style << "width: #{width}px;" + style << "top:#{params[:top]}px;" + style << "left:#{coords[:bar_start]}px;" + style << "width:#{width}px;" output << view.content_tag(:div, ' '.html_safe, :style => style, :class => "#{options[:css]} task_todo") if coords[:bar_late_end] width = coords[:bar_late_end] - coords[:bar_start] - 2 style = "" - style << "top: #{params[:top]}px;" - style << "left: #{coords[:bar_start]}px;" - style << "width: #{width}px;" + style << "top:#{params[:top]}px;" + style << "left:#{coords[:bar_start]}px;" + style << "width:#{width}px;" output << view.content_tag(:div, ' '.html_safe, :style => style, :class => "#{options[:css]} task_late") @@ -725,9 +725,9 @@ module Redmine if coords[:bar_progress_end] width = coords[:bar_progress_end] - coords[:bar_start] - 2 style = "" - style << "top: #{params[:top]}px;" - style << "left: #{coords[:bar_start]}px;" - style << "width: #{width}px;" + style << "top:#{params[:top]}px;" + style << "left:#{coords[:bar_start]}px;" + style << "width:#{width}px;" output << view.content_tag(:div, ' '.html_safe, :style => style, :class => "#{options[:css]} task_done") |