<%= link_to_issue entry.issue %>: <%= h(truncate(entry.issue.subject, 50)) -%> |
<%= (link_to pluralize(entry.units, entry.cost_type.unit, entry.cost_type.unit_plural), {:controller => "costlog", :action => "details", :cost_type_id => entry.cost_type, :issue_id => entry.issue}) if entry.is_a?(CostEntry) %> |
<%= entry.cost_type if entry.is_a?(CostEntry)%> |
<%= entry.activity if entry.is_a?(TimeEntry)%> |
<%= format_date entry.spent_on %> |
<%= link_to_user entry.user %> |
<%= number_to_currency(entry.real_costs) %> |
<% end %>