Project

General

Profile

Defect #15523 ยป progress-done-css-class-fix.diff

Go MAEDA, 2013-11-24 06:30

View differences:

app/helpers/application_helper.rb (working copy)
1091 1091
        (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed') : ''.html_safe) +
1092 1092
        (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done') : ''.html_safe) +
1093 1093
        (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo') : ''.html_safe)
1094
      ), :class => 'progress progress-#{pcts[0]}', :style => "width: #{width};").html_safe +
1094
      ), :class => "progress progress-#{pcts[0]}", :style => "width: #{width};").html_safe +
1095 1095
      content_tag('p', legend, :class => 'percent').html_safe
1096 1096
  end
1097 1097

  
    (1-1/1)