summaryrefslogtreecommitdiffstats
path: root/app/views/gantts
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-07 11:59:05 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-07 11:59:05 +0000
commitd1eb07dd8bb4e6f2ee07b6997f9d0fd229f331dc (patch)
tree4bea56fcc8ce5e85a8590aaeea14999725ce70c0 /app/views/gantts
parent9c5f339efb2c256acb69320844bb31b6aceb475a (diff)
downloadredmine-d1eb07dd8bb4e6f2ee07b6997f9d0fd229f331dc.tar.gz
redmine-d1eb07dd8bb4e6f2ee07b6997f9d0fd229f331dc.zip
fix code indent of gantt days headers
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10310 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/gantts')
-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 %>