##// END OF EJS Templates
Issue subjects column width set to 330 on gantt chart...
Jean-Philippe Lang -
r495:7eda64e46432
parent child
Show More
@@ -50,7 +50,7
50 <% zoom = 1
50 <% zoom = 1
51 @zoom.times { zoom = zoom * 2 }
51 @zoom.times { zoom = zoom * 2 }
52
52
53 subject_width = 260
53 subject_width = 330
54 header_heigth = 18
54 header_heigth = 18
55
55
56 headers_height = header_heigth
56 headers_height = header_heigth
@@ -73,7 +73,7 t_height = g_height + headers_height
73
73
74 <table width="100%" style="border:0; border-collapse: collapse;">
74 <table width="100%" style="border:0; border-collapse: collapse;">
75 <tr>
75 <tr>
76 <td style="width:260px;">
76 <td style="width:<%= subject_width %>px;">
77
77
78 <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;">
78 <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;">
79 <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"></div>
79 <div style="right:-2px;width:<%= subject_width %>px;height:<%= headers_height %>px;background: #eee;" class="gantt_hdr"></div>
@@ -87,7 +87,7 top = headers_height + 8
87 <div style="position: absolute;line-height:1.2em;height:16px;top:<%= top %>px;left:4px;overflow:hidden;"><small>
87 <div style="position: absolute;line-height:1.2em;height:16px;top:<%= top %>px;left:4px;overflow:hidden;"><small>
88 <% if i.is_a? Issue %>
88 <% if i.is_a? Issue %>
89 <%= link_to_issue i %><%= " (#{i.project.name})" unless @project && @project == i.project %>:
89 <%= link_to_issue i %><%= " (#{i.project.name})" unless @project && @project == i.project %>:
90 <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %>
90 <%=h i.subject %>
91 <% else %>
91 <% else %>
92 <strong><%= "#{l(:label_version)}: #{i.name}" %></strong>
92 <strong><%= "#{l(:label_version)}: #{i.name}" %></strong>
93 <% end %>
93 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now