Permalink
Browse files

Merge pull request #126 from jancybsec/patch-1

Fixed "completed_percent" function call typo
  • Loading branch information...
2 parents e23e8da + c89d323 commit 197ab8578b6c9f4787179a606975caf475a80b78 @kulesa committed on GitHub Sep 9, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/redmine/helpers/better_gantt.rb
@@ -328,8 +328,8 @@ def line_for_version(version, options)
options[:zoom] ||= 1
options[:g_width] ||= (work_days_in(self.date_to, self.date_from) + 1) * options[:zoom]
- coords = coordinates(version.start_date, version.due_date, version.completed_pourcent, options[:zoom])
- label = "#{h version } #{h version.completed_pourcent.to_i.to_s}%"
+ coords = coordinates(version.start_date, version.due_date, version.completed_percent, options[:zoom])
+ label = "#{h version } #{h version.completed_percent.to_i.to_s}%"
label = h("#{version.project} -") + label unless @project && @project == version.project
case options[:format]

0 comments on commit 197ab85

Please sign in to comment.