diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-04 08:30:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-04 08:30:25 +0000 |
commit | 9613a13b10aa4f55df122ffd3a910a10774906d6 (patch) | |
tree | eeef4f590d29eb836a4bc5b65a6dc6609ef7cfdb /lib | |
parent | 9c698157f44819d224a9be5c13d8b517690e4bed (diff) | |
download | redmine-9613a13b10aa4f55df122ffd3a910a10774906d6.tar.gz redmine-9613a13b10aa4f55df122ffd3a910a10774906d6.zip |
Deprecates Version#*_pourcent in favour of #*_percent (#12724).
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11113 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index c71eec1c8..db88b7902 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -307,9 +307,9 @@ module Redmine options[:zoom] ||= 1 options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom] coords = coordinates(version.start_date, - version.due_date, version.completed_pourcent, + version.due_date, version.completed_percent, options[:zoom]) - label = "#{h version} #{h version.completed_pourcent.to_i.to_s}%" + label = "#{h version} #{h version.completed_percent.to_i.to_s}%" label = h("#{version.project} -") + label unless @project && @project == version.project case options[:format] when :html |