diff --git a/app/views/deliverables/_budget.html.erb b/app/views/deliverables/_budget.html.erb index 667a9b5..6720792 100644 --- a/app/views/deliverables/_budget.html.erb +++ b/app/views/deliverables/_budget.html.erb @@ -1,10 +1,10 @@ -

Budget

+

<%= l(:budget_title) %>

<% if allowed_management? %>
- Total Budget: + <%= l(:field_budget) %> <%= h number_to_currency(budget.budget, :precision => 0) %> @@ -15,7 +15,7 @@ <% if allowed_management? %>
- Labor Budget: + <%= l(:label_labor_budget) %> <%= h number_to_currency(budget.labor_budget, :precision => 0) %> @@ -26,7 +26,7 @@ <% if allowed_management? %>
- Labor Budget Spent: + <%= l(:label_labor_budget_spent) %> <%= h number_to_currency(budget.spent, :precision => 0) %> @@ -37,7 +37,7 @@ <% if allowed_management? %>
- Labor Budget Remaining: + <%= l(:label_labor_budget_remaining) %> <%= h number_to_currency(budget.labor_budget_left, :precision => 0) %> @@ -47,7 +47,7 @@
- Progress: + <%= l(:label_progress) %> <%= h number_to_percentage(budget.progress, :precision => 0) %> @@ -57,7 +57,7 @@ <% if allowed_management? %>
- Budget Score: + <%= l(:label_budget_score) %> <%= h budget.score %> @@ -68,7 +68,7 @@ <% if allowed_management? %>
- Overruns: + <%= l(:label_overruns) %> <%= h number_to_currency(budget.overruns, :precision => 0) %> @@ -79,7 +79,7 @@ <% if allowed_management? && budget.amount_missing_on_deliverables > 0%>
- Missing on <%= link_to('Deliverables:', :action => 'issues', :id => @project.id, :deliverable_id => :none) %> + <%= l(:label_missing_on) %> <%= link_to('Deliverables:', :action => 'issues', :id => @project.id, :deliverable_id => :none) %> <%= h number_to_currency(budget.amount_missing_on_deliverables, :precision => 0) %> @@ -90,7 +90,7 @@ <% if allowed_management? && budget.amount_missing_on_issues > 0 %>
- Missing on <%= link_to('Issues:', + <%= l(:label_missing_on) %> <%= link_to('Issues:', :controller => 'timelog', :action => 'details', :project_id => @project.id, @@ -106,7 +106,7 @@
- Next Due Date: + <%= l(:label_next_due_date) %> <%= h distance_of_time_in_words_to_now(budget.next_due_date) if budget.next_due_date %> @@ -114,7 +114,7 @@
- Completion: + <%= l(:label_completion) %> <%= h distance_of_time_in_words_to_now(budget.final_due_date) if budget.final_due_date %> @@ -124,7 +124,7 @@ <% if allowed_management? %>
- Potential Profit: + <%= l(:label_potential_profit) %> <%= h number_to_currency(budget.profit, :precision => 0) %> diff --git a/app/views/deliverables/_deliverable.html.erb b/app/views/deliverables/_deliverable.html.erb index 163607f..e2087aa 100644 --- a/app/views/deliverables/_deliverable.html.erb +++ b/app/views/deliverables/_deliverable.html.erb @@ -14,15 +14,15 @@