From: Jean-Philippe Lang Date: Sat, 21 Dec 2013 11:23:12 +0000 (+0000) Subject: Merged r12349 (#15523). X-Git-Tag: 2.4.2~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=624b0071adc5f768def10ded2b51083cc85fccb2;p=redmine.git Merged r12349 (#15523). git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@12430 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7bee2117e..f04139ea9 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1063,7 +1063,7 @@ module ApplicationHelper (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed') : ''.html_safe) + (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done') : ''.html_safe) + (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo') : ''.html_safe) - ), :class => 'progress progress-#{pcts[0]}', :style => "width: #{width};").html_safe + + ), :class => "progress progress-#{pcts[0]}", :style => "width: #{width};").html_safe + content_tag('p', legend, :class => 'percent').html_safe end