@@ -150,16 +150,16 if show_days | |||
|
150 | 150 | height = g_height + header_heigth - 1 |
|
151 | 151 | wday = @gantt.date_from.cwday |
|
152 | 152 | (@gantt.date_to - @gantt.date_from + 1).to_i.times do |
|
153 | width = zoom - 1 | |
|
154 | %> | |
|
155 | <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" | |
|
156 | class="gantt_hdr"> | |
|
157 | <%= day_letter(wday) %> | |
|
158 | </div> | |
|
159 | <% | |
|
160 | left = left + width + 1 | |
|
161 | wday = wday + 1 | |
|
162 | wday = 1 if wday > 7 | |
|
153 | width = zoom - 1 | |
|
154 | %> | |
|
155 | <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>" | |
|
156 | class="gantt_hdr"> | |
|
157 | <%= day_letter(wday) %> | |
|
158 | </div> | |
|
159 | <% | |
|
160 | left = left + width + 1 | |
|
161 | wday = wday + 1 | |
|
162 | wday = 1 if wday > 7 | |
|
163 | 163 | end |
|
164 | 164 | end %> |
|
165 | 165 |
General Comments 0
You need to be logged in to leave comments.
Login now