diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-29 21:23:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-29 21:23:21 +0000 |
commit | e494983e1f746cd6723ffe908c426235eeb57f44 (patch) | |
tree | 7b21ea8bc0951f3308fc528cdfa17d5a59640b68 /app/helpers | |
parent | 23974fb0cede44d69db1c31ef7cd7296bdb2bc90 (diff) | |
download | redmine-e494983e1f746cd6723ffe908c426235eeb57f44.tar.gz redmine-e494983e1f746cd6723ffe908c426235eeb57f44.zip |
Fixed that CSS class for done ratio is not properly generated (#15523).
Patch by Go MAEDA.
git-svn-id: http://svn.redmine.org/redmine/trunk@12349 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index bb9121031..357a7e04c 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1091,7 +1091,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 |