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