You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_time_entries_saved_objects.html.erb 872B

1234567891011121314151617181920212223242526
  1. <table id="saved-items" class="list">
  2. <thead>
  3. <tr>
  4. <th><%= t(:field_project) %></th>
  5. <th><%= t(:field_user) %></th>
  6. <th><%= t(:field_activity) %></th>
  7. <th><%= t(:field_issue) %></th>
  8. <th><%= t(:field_spent_on) %></th>
  9. <th><%= t(:field_hours) %></th>
  10. <th><%= t(:field_comments) %></th>
  11. </tr>
  12. </thead>
  13. <tbody>
  14. <% saved_objects.each do |time_entry| %>
  15. <tr>
  16. <td><%= link_to_project(time_entry.project, :jump => 'time_entries') if time_entry.project %></td>
  17. <td><%= link_to_user time_entry.user %></td>
  18. <td><%= time_entry.activity.name if time_entry.activity %></td>
  19. <td><%= link_to_issue time_entry.issue if time_entry.issue %></td>
  20. <td><%= format_date(time_entry.spent_on) %></td>
  21. <td><%= l_hours_short(time_entry.hours) %></td>
  22. <td><%= time_entry.comments %></td>
  23. </tr>
  24. <% end %>
  25. </tbody>
  26. </table>