removes explicit width in progress bar

Should be handled with css and looks nice the way it it by the way.
pull/6827/head
Jens Ulferts 12 years ago
parent a9718fd122
commit 6c3150e110
  1. 2
      app/views/cost_objects/_list.rhtml

@ -24,7 +24,7 @@
<%= content_tag(:td, number_to_currency(cost_object.budget, :precision => 0), :class => 'currency') %> <%= content_tag(:td, number_to_currency(cost_object.budget, :precision => 0), :class => 'currency') %>
<%= content_tag(:td, number_to_currency(cost_object.spent, :precision => 0), :class => 'currency') %> <%= content_tag(:td, number_to_currency(cost_object.spent, :precision => 0), :class => 'currency') %>
<%= content_tag(:td, number_to_currency(cost_object.budget - cost_object.spent, :precision => 0), :class => 'currency') %> <%= content_tag(:td, number_to_currency(cost_object.budget - cost_object.spent, :precision => 0), :class => 'currency') %>
<%= content_tag(:td, extended_progress_bar(cost_object.budget_ratio, :width => '100%', :legend => "#{cost_object.budget_ratio}%")) %> <%= content_tag(:td, extended_progress_bar(cost_object.budget_ratio, :legend => "#{cost_object.budget_ratio}%")) %>
<%- <%-
total_budget += cost_object.budget total_budget += cost_object.budget
labor_budget += cost_object.labor_budget labor_budget += cost_object.labor_budget

Loading…
Cancel
Save