-
+
<%
#
# Months headers
@@ -95,7 +99,9 @@ height = (show_weeks ? header_heigth : header_heigth + g_height)
width = (((month_f >> 1) - month_f) * zoom - 1).to_i
%>
- <%= link_to h("#{month_f.year}-#{month_f.month}"), @gantt.params.merge(:year => month_f.year, :month => month_f.month), :title => "#{month_name(month_f.month)} #{month_f.year}"%>
+ <%= link_to h("#{month_f.year}-#{month_f.month}"),
+ @gantt.params.merge(:year => month_f.year, :month => month_f.month),
+ :title => "#{month_name(month_f.month)} #{month_f.year}" %>
<%
left = left + width + 1
@@ -117,7 +123,8 @@ if show_weeks
week_f = @gantt.date_from + (7 - @gantt.date_from.cwday + 1)
width = (7 - @gantt.date_from.cwday + 1) * zoom - 1
%>
-
+
<%
left = left + width + 1
end %>
@@ -145,7 +152,8 @@ if show_days
(@gantt.date_to - @gantt.date_from + 1).to_i.times do
width = zoom - 1
%>
-
5 %>" class="gantt_hdr">
+
5 %>"
+ class="gantt_hdr">
<%= day_letter(wday) %>
<%
--
2.39.5