mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-31 20:59:38 +00:00
gantt: completed percent truncated instead of rounded (#14737)
Contributed by Jérôme BATAILLE. git-svn-id: http://svn.redmine.org/redmine/trunk@13137 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4b0f418c80
commit
6080a4cae3
@ -338,7 +338,7 @@ module Redmine
|
||||
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)} #{h(version.completed_percent.to_f.round)}%"
|
||||
label = h("#{version.project} -") + label unless @project && @project == version.project
|
||||
case options[:format]
|
||||
when :html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user