[#4182] Style the labor and overhead sections of the table a bit.
This commit is contained in:
@@ -8,9 +8,8 @@ module ContractsHelper
|
||||
|
||||
def format_budget_for_deliverable(deliverable, spent, total)
|
||||
if total > 0 || spent > 0
|
||||
content_tag(:span, h(number_to_currency(spent, :unit => '')), :class => 'spent-amount') +
|
||||
" " +
|
||||
content_tag(:span, h(number_to_currency(total, :unit => '')), :class => 'total-amount')
|
||||
content_tag(:div, h(number_to_currency(spent, :unit => '')), :class => 'spent-amount') +
|
||||
content_tag(:div, h(number_to_currency(total, :unit => '')), :class => 'total-amount')
|
||||
else
|
||||
'---'
|
||||
end
|
||||
|
||||
@@ -23,3 +23,6 @@ a.contract-delete {color: red; }
|
||||
/* Positioning */
|
||||
#deliverable-finances ol li { display: inline; }
|
||||
#deliverable-finances ol li label { float: none; margin-left: 0; }
|
||||
|
||||
#deliverables td.labor, #deliverables td.overhead, #deliverables td.fixed { text-align: center; }
|
||||
#deliverables td.labor div, #deliverables td.overhead div, #deliverables td.fixed div { text-align: right; display: inline; padding: 0 5px; width: 50%; }
|
||||
|
||||
Reference in New Issue
Block a user