|
|
|
@ -38,17 +38,16 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
|
|
|
|
<%= l(:label_updated_time, distance_of_time_in_words(Time.now, @cost_object.updated_on)) + '.' if @cost_object.created_on != @cost_object.updated_on %> |
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
|
<table width="100%"> |
|
|
|
|
<table class="attributes"> |
|
|
|
|
<tr> |
|
|
|
|
<td style="width:15%" class="type"><strong><%= CostObject.human_attribute_name(:type) %>:</strong></td> |
|
|
|
|
<td style="width:35%" class="type"><%= @cost_object.type_label %></td> |
|
|
|
|
|
|
|
|
|
</tr> |
|
|
|
|
<tr> |
|
|
|
|
<td style="width:15%" class="due-date"><strong><%= CostObject.human_attribute_name(:fixed_date) %>:</strong></td> |
|
|
|
|
<td style="width:35%"><%= format_date(@cost_object.fixed_date) %></td> |
|
|
|
|
</tr> |
|
|
|
|
|
|
|
|
|
<tr> |
|
|
|
|
|
|
|
|
|
<td class="progress"><strong><%= CostObject.human_attribute_name(:budget_ratio) %>:</strong></td> |
|
|
|
|
<td class="progress"><%= extended_progress_bar(@cost_object.budget_ratio, :width => '80px', :legend => "#{@cost_object.budget_ratio}%") %></td> |
|
|
|
|
</tr> |
|
|
|
|