[#2809] Add some extra css classes on the deliverables list

This commit is contained in:
Eric Davis
2010-11-18 08:42:57 -08:00
parent 1d608a6c47
commit 04d0be203e

View File

@@ -3,11 +3,11 @@
<%= toggle_arrows(deliverable.id) %>
</td>
<%= content_tag(:td, deliverable.id) %>
<%= content_tag(:td, deliverable.id, :class => 'id') %>
<%= content_tag(:td, h(deliverable.score.to_i), :class => 'score') if allowed_management? %>
<%= content_tag(:td, h(deliverable.subject), :class => 'subject') %>
<%= content_tag(:td, number_to_currency(deliverable.budget || 0.0, :precision => 0), :class => 'budget') if allowed_management? %>
<%= content_tag(:td, number_to_currency(deliverable.labor_budget || 0.0, :precision => 0), :class => 'budget') if allowed_management? %>
<%= content_tag(:td, number_to_currency(deliverable.labor_budget || 0.0, :precision => 0), :class => 'budget labor') if allowed_management? %>
<%= content_tag(:td, number_to_currency(deliverable.spent, :precision => 0), :class => 'spent') if allowed_management? %>
<%= content_tag(:td, format_date(deliverable.due), :class => 'due_date') %>
<%= content_tag(:td, progress_bar(deliverable.progress, :width => '100%', :class => 'done_ratio')) %>