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