From d1eb07dd8bb4e6f2ee07b6997f9d0fd229f331dc Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 7 Sep 2012 11:59:05 +0000 Subject: [PATCH] fix code indent of gantt days headers git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10310 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/gantts/show.html.erb | 20 ++++++++++---------- 1 file 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 - %> -
5 %>" - class="gantt_hdr"> - <%= day_letter(wday) %> -
- <% - left = left + width + 1 - wday = wday + 1 - wday = 1 if wday > 7 + width = zoom - 1 + %> +
5 %>" + class="gantt_hdr"> + <%= day_letter(wday) %> +
+ <% + left = left + width + 1 + wday = wday + 1 + wday = 1 if wday > 7 end end %> -- 2.39.5