From: Toshi MARUYAMA Date: Sat, 8 Sep 2012 02:00:32 +0000 (+0000) Subject: gantt: use content_tag instead of html tag at gantt header outline X-Git-Tag: 2.1.0~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c25d1756233c3a27cf46c0f9820260b57ecc430e;p=redmine.git 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 --- 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 ###### %> <%