summaryrefslogtreecommitdiffstats
path: root/app/views/gantts/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/gantts/show.html.erb')
-rw-r--r--app/views/gantts/show.html.erb20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index ae6a97236..ad905925b 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -150,16 +150,16 @@ if show_days
height = g_height + header_heigth - 1
wday = @gantt.date_from.cwday
(@gantt.date_to - @gantt.date_from + 1).to_i.times do
- width = zoom - 1
- %>
- <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>"
- class="gantt_hdr">
- <%= day_letter(wday) %>
- </div>
- <%
- left = left + width + 1
- wday = wday + 1
- wday = 1 if wday > 7
+ width = zoom - 1
+ %>
+ <div style="left:<%= left %>px;top:37px;width:<%= width %>px;height:<%= height %>px;font-size:0.7em;<%= "background:#f1f1f1;" if wday > 5 %>"
+ class="gantt_hdr">
+ <%= day_letter(wday) %>
+ </div>
+ <%
+ left = left + width + 1
+ wday = wday + 1
+ wday = 1 if wday > 7
end
end %>