@@ -136,20 +136,16 | |||
|
136 | 136 | %> |
|
137 | 137 | <% end %> |
|
138 | 138 | |
|
139 | <% | |
|
140 | # | |
|
141 | # Weeks headers | |
|
142 | # | |
|
143 | %> | |
|
139 | <% ###### Weeks headers ###### %> | |
|
144 | 140 | <% if show_weeks %> |
|
145 | 141 | <% |
|
146 | left = 0 | |
|
147 | height = (show_days ? header_heigth - 1 : header_heigth - 1 + g_height) | |
|
142 | left = 0 | |
|
143 | height = (show_days ? header_heigth - 1 : header_heigth - 1 + g_height) | |
|
148 | 144 | %> |
|
149 | 145 | <% if @gantt.date_from.cwday == 1 %> |
|
150 | 146 | <% |
|
151 | # @date_from is monday | |
|
152 | week_f = @gantt.date_from | |
|
147 | # @date_from is monday | |
|
148 | week_f = @gantt.date_from | |
|
153 | 149 | %> |
|
154 | 150 | <% else %> |
|
155 | 151 | <% |
@@ -183,8 +179,8 | |||
|
183 | 179 | <% end %> |
|
184 | 180 | <% end %> |
|
185 | 181 | <% |
|
186 | left = left + width + 1 | |
|
187 | week_f = week_f + 7 | |
|
182 | left = left + width + 1 | |
|
183 | week_f = week_f + 7 | |
|
188 | 184 | %> |
|
189 | 185 | <% end %> |
|
190 | 186 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now