<%= l(:field_comments) %> | <%= sort_header_tag('hours', :caption => l(:field_hours)) %><% @entries.each do |entry| %> | |||||
---|---|---|---|---|---|---|
<%= 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.user_id == @owner_id %> |