##// END OF EJS Templates
fix code indent of gantt days headers...
Toshi MARUYAMA -
r10127:d1eb07dd8bb4
parent child
Show More
@@ -150,16 +150,16 if show_days
150 height = g_height + header_heigth - 1
150 height = g_height + header_heigth - 1
151 wday = @gantt.date_from.cwday
151 wday = @gantt.date_from.cwday
152 (@gantt.date_to - @gantt.date_from + 1).to_i.times do
152 (@gantt.date_to - @gantt.date_from + 1).to_i.times do
153 width = zoom - 1
153 width = zoom - 1
154 %>
154 %>
155 <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>"
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">
156 class="gantt_hdr">
157 <%= day_letter(wday) %>
157 <%= day_letter(wday) %>
158 </div>
158 </div>
159 <%
159 <%
160 left = left + width + 1
160 left = left + width + 1
161 wday = wday + 1
161 wday = wday + 1
162 wday = 1 if wday > 7
162 wday = 1 if wday > 7
163 end
163 end
164 end %>
164 end %>
165
165
General Comments 0
You need to be logged in to leave comments. Login now