@@ -542,9 +542,9 module ApplicationHelper | |||
|
542 | 542 | legend = options[:legend] || '' |
|
543 | 543 | content_tag('table', |
|
544 | 544 | content_tag('tr', |
|
545 |
(pcts[0] > 0 ? content_tag('td', '', : |
|
|
546 |
(pcts[1] > 0 ? content_tag('td', '', : |
|
|
547 |
(pcts[2] > 0 ? content_tag('td', '', : |
|
|
545 | (pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0].floor}%;", :class => 'closed') : '') + | |
|
546 | (pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1].floor}%;", :class => 'done') : '') + | |
|
547 | (pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2].floor}%;", :class => 'todo') : '') | |
|
548 | 548 | ), :class => 'progress', :style => "width: #{width};") + |
|
549 | 549 | content_tag('p', legend, :class => 'pourcent') |
|
550 | 550 | end |
General Comments 0
You need to be logged in to leave comments.
Login now