diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb index 65ee86929..ce53b4615 100644 --- a/app/views/gantts/show.html.erb +++ b/app/views/gantts/show.html.erb @@ -152,23 +152,26 @@ height = (show_weeks ? header_heigth : header_heigth + g_height) # # Days headers # -if show_days +%> +<% if show_days %> + <% left = 0 height = g_height + header_heigth - 1 wday = @gantt.date_from.cwday - (@gantt.date_to - @gantt.date_from + 1).to_i.times do - width = zoom - 1 - %> -