From c25d1756233c3a27cf46c0f9820260b57ecc430e Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 8 Sep 2012 02:00:32 +0000 Subject: [PATCH] gantt: use content_tag instead of html tag at gantt header outline git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10323 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/gantts/show.html.erb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 2e5c1aa87..556be7d5e 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -100,11 +100,16 @@ <% end %> <% end %> - +
-
 
+<% + style = "" + style += "width: #{g_width - 1}px;" + style += "height: #{headers_height}px;" + style += 'background: #eee;' +%> +<%= content_tag(:div, ' '.html_safe, :style => style, :class => "gantt_hdr") %> <% ###### Months headers ###### %> <%