diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-08 02:00:32 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-09-08 02:00:32 +0000 |
commit | c25d1756233c3a27cf46c0f9820260b57ecc430e (patch) | |
tree | dce789fae74995a04337f81151f2d2931addc771 /app/views/gantts/show.html.erb | |
parent | 47e375b271fa3929aabcfc53b7f3789728430cfd (diff) | |
download | redmine-c25d1756233c3a27cf46c0f9820260b57ecc430e.tar.gz redmine-c25d1756233c3a27cf46c0f9820260b57ecc430e.zip |
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
Diffstat (limited to 'app/views/gantts/show.html.erb')
-rw-r--r-- | app/views/gantts/show.html.erb | 11 |
1 files 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 %> </td> -<td> +<td> <div style="position:relative;height:<%= t_height + 24 %>px;overflow:auto;"> -<div style="width:<%= g_width - 1 %>px;height:<%= headers_height %>px;background: #eee;" - class="gantt_hdr"> </div> +<% + 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 ###### %> <% |