git-svn-id: https://dev.finn.de/svn/cockpit/branches/reporting_merge@1386 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
rkh 15 years ago
parent 968e470bbb
commit b396d9ed4f
  1. 4
      app/helpers/reporting_helper.rb

@ -54,8 +54,8 @@ module ReportingHelper
when :cost_type_id then CostType.find(value.to_i).name when :cost_type_id then CostType.find(value.to_i).name
when :cost_object then CostObject.find(value.to_i).subject when :cost_object then CostObject.find(value.to_i).subject
when :issue_id then link_to_issue Issue.find(value.to_i) when :issue_id then link_to_issue Issue.find(value.to_i)
when :spent_on then format_date(value.to_date when :spent_on then format_date(value.to_date)
when :tracker_id then Tracker.find(value.to_id) when :tracker_id then Tracker.find(value.to_i)
else "??? #{key}: #{value.inspect} ???" else "??? #{key}: #{value.inspect} ???"
end end
end end

Loading…
Cancel
Save