<%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %> <%= sort_header_tag('user_id', :caption => l(:label_member)) %> <%= sort_header_tag('activity_id', :caption => l(:label_activity)) %> <%= sort_header_tag('issue_id', :caption => l(:label_issue), :default_order => 'desc') %> <%= sort_header_tag('hours', :caption => l(:field_hours)) %> <% entries.each do |entry| -%> "> <% end -%>
<%= l(:field_comments) %>
<%= format_date(entry.spent_on) %> <%= entry.user.name %> <%= entry.activity.name %> <% if entry.issue -%>
<%= link_to_issue entry.issue %>: <%= h(truncate(entry.issue.subject, 50)) -%> <%= render_issue_tooltip entry.issue %>
<% end -%>
<%=h entry.comments %> <%= entry.hours %> <%= link_to_if_authorized(l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => entry}, :class => 'icon icon-edit') if entry.editable_by?(User.current) %>