Chris@1464:
<%= l(:label_total_time) %>: <%= html_hours("%.2f" % entries.sum(&:hours).to_f) %>
Chris@1464:<%= l(:label_activity) %> | Chris@1464:<%= l(:label_project) %> | Chris@1464:<%= l(:field_comments) %> | Chris@1464:<%= l(:field_hours) %> | Chris@1464:Chris@1464: |
---|---|---|---|---|
<%= day == Date.today ? l(:label_today).titleize : format_date(day) %> | Chris@1464:Chris@1464: | <%= html_hours("%.2f" % entries_by_day[day].sum(&:hours).to_f) %> | Chris@1464:Chris@1464: | |
<%=h entry.activity %> | Chris@1464:<%=h entry.project %> <%= h(' - ') + link_to_issue(entry.issue, :truncate => 50) if entry.issue %> | Chris@1464:<%=h entry.comments %> | Chris@1464:<%= html_hours("%.2f" % entry.hours) %> | Chris@1464:Chris@1464: <% if entry.editable_by?(@user) -%> Chris@1464: <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry}, Chris@1464: :title => l(:button_edit) %> Chris@1464: <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry}, Chris@1464: :data => {:confirm => l(:text_are_you_sure)}, Chris@1464: :method => :delete, Chris@1464: :title => l(:button_delete) %> Chris@1464: <% end -%> Chris@1464: | Chris@1464: