@@ -185,16 +185,12 | |||
|
185 | 185 | <% end %> |
|
186 | 186 | <% end %> |
|
187 | 187 | |
|
188 | <% | |
|
189 | # | |
|
190 | # Days headers | |
|
191 | # | |
|
192 | %> | |
|
188 | <% ###### Days headers ####### %> | |
|
193 | 189 | <% if show_days %> |
|
194 | 190 | <% |
|
195 | left = 0 | |
|
196 | height = g_height + header_heigth - 1 | |
|
197 | wday = @gantt.date_from.cwday | |
|
191 | left = 0 | |
|
192 | height = g_height + header_heigth - 1 | |
|
193 | wday = @gantt.date_from.cwday | |
|
198 | 194 | %> |
|
199 | 195 | <% (@gantt.date_to - @gantt.date_from + 1).to_i.times do %> |
|
200 | 196 | <% |
@@ -211,9 +207,9 | |||
|
211 | 207 | <%= day_letter(wday) %> |
|
212 | 208 | <% end %> |
|
213 | 209 | <% |
|
214 | left = left + width + 1 | |
|
215 | wday = wday + 1 | |
|
216 | wday = 1 if wday > 7 | |
|
210 | left = left + width + 1 | |
|
211 | wday = wday + 1 | |
|
212 | wday = 1 if wday > 7 | |
|
217 | 213 | %> |
|
218 | 214 | <% end %> |
|
219 | 215 | <% end %> |
General Comments 0
You need to be logged in to leave comments.
Login now