RM_14737_gantt_completed_pourcent_truncated.diff

Jérôme BATAILLE, 2013-08-21 16:23

Download (834 Bytes)

View differences:

gantt.rb (revision 1899)
317 318
          options[:g_width] ||= (self.date_to - self.date_from + 1) * options[:zoom]
318 319
          coords = coordinates(version.start_date,
319 320
                               version.due_date, version.completed_percent,
320 321
                               options[:zoom])
321
          label = "#{h version } #{h version.completed_percent.to_i.to_s}%"
322
          # Smile specific #48051 Roadmap : Calcul du pourcentage effectué
323
          # Faire un patch et le proposer
324
          label = "#{h version } #{h version.completed_percent.to_f.round}%"
322 325
          label = h("#{version.project} -") + label unless @project && @project == version.project
323 326

  
324 327
          case options[:format]