@@ -50,7 +50,7 | |||
|
50 | 50 | <% zoom = 1 |
|
51 | 51 | @zoom.times { zoom = zoom * 2 } |
|
52 | 52 | |
|
53 |
subject_width = |
|
|
53 | subject_width = 330 | |
|
54 | 54 | header_heigth = 18 |
|
55 | 55 | |
|
56 | 56 | headers_height = header_heigth |
@@ -73,7 +73,7 t_height = g_height + headers_height | |||
|
73 | 73 | |
|
74 | 74 | <table width="100%" style="border:0; border-collapse: collapse;"> |
|
75 | 75 | <tr> |
|
76 |
<td style="width: |
|
|
76 | <td style="width:<%= subject_width %>px;"> | |
|
77 | 77 | |
|
78 | 78 | <div style="position:relative;height:<%= t_height + 24 %>px;width:<%= subject_width + 1 %>px;"> |
|
79 | 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 | 87 | <div style="position: absolute;line-height:1.2em;height:16px;top:<%= top %>px;left:4px;overflow:hidden;"><small> |
|
88 | 88 | <% if i.is_a? Issue %> |
|
89 | 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 | 91 | <% else %> |
|
92 | 92 | <strong><%= "#{l(:label_version)}: #{i.name}" %></strong> |
|
93 | 93 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now