diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-09-29 15:39:56 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-09-29 15:39:56 +0000 |
commit | a1addba26cfbc5b056cf7e865a9602dabf831aa8 (patch) | |
tree | 45f3045403394e6e8ef8231efbe269f258d00b76 /app/helpers | |
parent | 481a1311b75e696ccecb487b6ab4cd8686111988 (diff) | |
download | redmine-a1addba26cfbc5b056cf7e865a9602dabf831aa8.tar.gz redmine-a1addba26cfbc5b056cf7e865a9602dabf831aa8.zip |
Adds some css classes (#14767).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12171 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 4b33e15f3..2c093a26f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1062,7 +1062,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', :style => "width: #{width};").html_safe + + ), :class => 'progress progress-#{pcts[0]}', :style => "width: #{width};").html_safe + content_tag('p', legend, :class => 'percent').html_safe end |