% if !entries.empty? %>
<%= l(:label_activity) %> | <%= l(:label_issue) %> | <%= l(:field_comments) %> | <%= l(:field_hours) %> | <% @totalHours=0 %> <% entries.each do |entry| %> <% @totalHours = @totalHours + entry.hours%> |
---|---|---|---|---|
<%= entry.activity.name %> |
<% if entry.issue %>
<%= link_to_issue entry.issue %>
<%= render_issue_tooltip entry.issue %>
<% end %>
|
<%=h entry.comments %> | <%= entry.hours %> | <%= link_to(l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => entry}, :class => "icon icon-edit")%> |
Total: | <%= @totalHours %> |