From b17e145d75f926d435fdac81af0d9629d75149a0 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 7 Dec 2010 18:41:50 +0000 Subject: [PATCH] Gantt: view cleanup. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4473 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/gantts/show.html.erb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index e0d7479f2..05d5c0171 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -63,7 +63,7 @@ g_width = (@gantt.date_to - @gantt.date_from + 1)*zoom g_height = [(20 * (@gantt.number_of_rows + 6))+150, 206].max t_height = g_height + headers_height -@gantt.render(:headers_height => headers_height, :top => headers_height + 8, :zoom => zoom, :g_width => g_width) +@gantt.render(:top => headers_height + 8, :zoom => zoom, :g_width => g_width) %> @@ -72,7 +72,6 @@ t_height = g_height + headers_height
-<% top = headers_height + 8 %> <%= @gantt.subjects %> @@ -153,8 +152,6 @@ if show_days end end %> -<% top = headers_height + 10 %> - <%= @gantt.lines %> <% -- 2.39.5