diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4b33e15..2c093a2 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 diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb index 2e104bd..fdbec6f 100644 --- a/app/views/versions/show.html.erb +++ b/app/views/versions/show.html.erb @@ -39,9 +39,9 @@
<%= check_box_tag 'ids[]', issue.id, false, :id => nil %> | -<%= link_to_issue(issue, :project => (@project != issue.project)) %> | +<%= link_to_issue(issue, :project => (@project != issue.project)) %> |