Chris@0:
<%= l(:field_comments) %> | Chris@0: <%= sort_header_tag('hours', :caption => l(:field_hours)) %> Chris@0:Chris@0: | ||||||
---|---|---|---|---|---|---|---|
<%= format_date(entry.spent_on) %> | Chris@0:<%=h entry.user %> | Chris@0:<%=h entry.activity %> | Chris@0:<%=h entry.project %> | Chris@0:Chris@0: <% if entry.issue -%> Chris@0: <%= entry.issue.visible? ? link_to_issue(entry.issue, :truncate => 50) : "##{entry.issue.id}" -%> Chris@0: <% end -%> Chris@0: | Chris@0:<%=h entry.comments %> | Chris@0:<%= html_hours("%.2f" % entry.hours) %> | Chris@0:Chris@0: <% if entry.editable_by?(User.current) -%> Chris@0: <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry, :project_id => nil}, Chris@0: :title => l(:button_edit) %> Chris@0: <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry, :project_id => nil}, Chris@0: :confirm => l(:text_are_you_sure), chris@37: :method => :delete, Chris@0: :title => l(:button_delete) %> Chris@0: <% end -%> Chris@0: | Chris@0: