Updated Deliverable.progress
* Make it return 100 if there are no issues * Get rid of sum in favor of manually adding values * Expand the progress bar to 100% #1136
This commit is contained in:
@@ -5,5 +5,5 @@
|
||||
<%= content_tag(:td, number_to_currency(deliverable.budget)) %>
|
||||
<%= content_tag(:td, number_to_currency(deliverable.spent)) %>
|
||||
<%= content_tag(:td, format_date(deliverable.due_date)) %>
|
||||
<%= content_tag(:td, progress_bar(deliverable.progress, :width => '80px')) %>
|
||||
<%= content_tag(:td, progress_bar(deliverable.progress, :width => '100%')) %>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user