Disable project completion display on the gantt (#7127).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4582 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2010-12-29 20:29:42 +00:00
1 parent f2ae2e9239
commit ad62060753
2 files changed
+7 -7

No files matched your search

+2 -2
View File
@@ -281,8 +281,8 @@ module Redmine
options[:zoom] ||= 1
options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom]
coords = coordinates(project.start_date, project.due_date, project.completed_percent(:include_subprojects => true), options[:zoom])
label = "#{h project } #{h project.completed_percent(:include_subprojects => true).to_i.to_s}%"
coords = coordinates(project.start_date, project.due_date, nil, options[:zoom])
label = h(project)
case options[:format]
when :html