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
This commit is contained in:
Jean-Philippe Lang
2013-01-04 08:30:25 +00:00
parent 9c698157f4
commit 9613a13b10
7 changed files with 39 additions and 27 deletions
+2 -2
View File
@@ -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