From 6c3150e110f74a7aa2a135f43ca9e3dfde39d62a Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Sun, 10 Mar 2013 12:43:03 +0100 Subject: [PATCH] removes explicit width in progress bar Should be handled with css and looks nice the way it it by the way. --- app/views/cost_objects/_list.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/cost_objects/_list.rhtml b/app/views/cost_objects/_list.rhtml index 33d5c6e511..eb1e78bed0 100644 --- a/app/views/cost_objects/_list.rhtml +++ b/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.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 labor_budget += cost_object.labor_budget