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
This commit is contained in:
Toshi MARUYAMA 2012-09-08 02:00:32 +00:00
parent 47e375b271
commit c25d175623
1 changed files with 8 additions and 3 deletions

View File

@ -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">&nbsp;</div>
<%
style = ""
style += "width: #{g_width - 1}px;"
style += "height: #{headers_height}px;"
style += 'background: #eee;'
%>
<%= content_tag(:div, '&nbsp;'.html_safe, :style => style, :class => "gantt_hdr") %>
<% ###### Months headers ###### %>
<%