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