summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-08 00:57:57 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-08 00:57:57 +0000
commit822a627c44577b15cc28690f46c480af2ece785f (patch)
treea567952abdeac450d64ae4ac23578b00ef6a029a /app/views
parent3431b860ad6bf4c2ec217d39c6f37cb9f165f7c7 (diff)
downloadredmine-822a627c44577b15cc28690f46c480af2ece785f.tar.gz
redmine-822a627c44577b15cc28690f46c480af2ece785f.zip
gantt: fix code indents of html today red line
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10318 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/gantts/show.html.erb14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/gantts/show.html.erb b/app/views/gantts/show.html.erb
index ca5bf622a..b44d7273d 100644
--- a/app/views/gantts/show.html.erb
+++ b/app/views/gantts/show.html.erb
@@ -200,13 +200,13 @@ height = (show_weeks ? header_heigth : header_heigth + g_height)
<% ###### Today red line (excluded from cache) ###### %>
<% if Date.today >= @gantt.date_from and Date.today <= @gantt.date_to %>
<%
- style = ""
- style += "position: absolute;"
- style += "height: #{g_height}px;"
- style += "top: #{headers_height + 1}px;"
- style += "left: #{(((Date.today - @gantt.date_from + 1) * zoom).floor() - 1).to_i}px;"
- style += "width:10px;"
- style += "border-left: 1px dashed red;"
+ style = ""
+ style += "position: absolute;"
+ style += "height: #{g_height}px;"
+ style += "top: #{headers_height + 1}px;"
+ style += "left: #{(((Date.today - @gantt.date_from + 1) * zoom).floor() - 1).to_i}px;"
+ style += "width:10px;"
+ style += "border-left: 1px dashed red;"
%>
<%= content_tag(:div, '&nbsp;'.html_safe, :style => style) %>
<% end %>