From 7eda64e46432c18bbbbb14de42b15331e4c071b9 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 1 May 2007 08:48:24 +0000 Subject: [PATCH] Issue subjects column width set to 330 on gantt chart git-svn-id: http://redmine.rubyforge.org/svn/trunk@498 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/gantt.rhtml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/projects/gantt.rhtml b/app/views/projects/gantt.rhtml index 1b51b4a6..16ccb932 100644 --- a/app/views/projects/gantt.rhtml +++ b/app/views/projects/gantt.rhtml @@ -50,7 +50,7 @@ <% zoom = 1 @zoom.times { zoom = zoom * 2 } -subject_width = 260 +subject_width = 330 header_heigth = 18 headers_height = header_heigth @@ -73,7 +73,7 @@ t_height = g_height + headers_height -
+
@@ -87,7 +87,7 @@ top = headers_height + 8
<% if i.is_a? Issue %> <%= link_to_issue i %><%= " (#{i.project.name})" unless @project && @project == i.project %>: - <%=h i.subject.sub(/^(.{30}[^\s]*\s).*$/, '\1 (...)') %> + <%=h i.subject %> <% else %> <%= "#{l(:label_version)}: #{i.name}" %> <% end %>