diff --git a/app/views/deliverables/_list.rhtml b/app/views/deliverables/_list.rhtml index 59981ba8a9..4b0d5e9386 100644 --- a/app/views/deliverables/_list.rhtml +++ b/app/views/deliverables/_list.rhtml @@ -1,10 +1,5 @@ <% form_tag({}) do -%> -<%- - show_labor = User.current.allowed_to?(:view_all_rates, @project) - show_material = User.current.allowed_to?(:view_unit_price, @project) --%> -
<%= link_to image_tag('toggle_check.png'), {}, :onclick => 'toggleIssuesSelection(Element.up(this, "form")); return false;', @@ -14,11 +9,11 @@ <%= sort_header_tag("status", :caption => l(:caption_status), :default_order => 'desc') %> <%= sort_header_tag("subject", :caption => l(:caption_subject)) %> <%= sort_header_tag("fixed_date", :caption => l(:caption_fixed_date)) %> - <%= sort_header_tag("spent", :caption => l(:caption_spent)) %> - <%= sort_header_tag("total_budget", :caption => l(:caption_budget)) if show_labor && show_material %> - <%= sort_header_tag("labor_budget", :caption => l(:caption_labor_budget)) if show_labor %> - <%= sort_header_tag("material_budget", :caption => l(:caption_material_budget)) if show_material %> - <%= sort_header_tag("budget_ratio", :caption => l(:caption_budget_ratio)) %> + | <%= l(:caption_spent) %> | +<%= l(:caption_budget) %> | +<%= l(:caption_labor_budget) %> | +<%= l(:caption_material_budget) %> | +<%= l(:caption_budget_ratio) %> |
---|