diff --git a/app/views/cost_reports/_list_items.html.erb b/app/views/cost_reports/_list_items.html.erb index 5222240686..8ab41867ca 100644 --- a/app/views/cost_reports/_list_items.html.erb +++ b/app/views/cost_reports/_list_items.html.erb @@ -11,7 +11,7 @@ <%= sort_header_tag("entry__user_id", :caption => l(:label_user), :default_order => 'asc') %> <%= sort_header_tag("entry__activity_id", :caption => l(:label_activity), :default_order => 'asc') %> <%= sort_header_tag("entry__issue_id", :caption => l(:caption_issue), :default_order => 'desc') %> - <%= l(:field_comments) %> + <%= CostEntry.human_attribute_namel(:comment) %> <%= l(:caption_cost_unit_plural) %> <%= sort_header_tag("entry__cost_type_id", :caption => l(:caption_cost_type), :default_order => 'asc') %> <%= sort_header_tag("entry__costs", :caption => l(:caption_costs), :default_order => 'asc', :class => "currency") %> diff --git a/app/views/costlog/_list.html.erb b/app/views/costlog/_list.html.erb index 2e1b95949a..eeed81b0af 100644 --- a/app/views/costlog/_list.html.erb +++ b/app/views/costlog/_list.html.erb @@ -5,7 +5,7 @@ <%= sort_header_tag('user', :caption => l(:label_member)) %> <%= sort_header_tag('project', :caption => l(:label_project)) %> <%= sort_header_tag('issue', :caption => l(:label_issue), :default_order => 'desc') %> - <%= l(:field_comments) %> + <%= CostEntry.human_attribute_namel(:comment) %> <%= sort_header_tag('units', :caption => l(:label_units)) %> <%= sort_header_tag('costs', :caption => l(:label_overall_costs)) %>