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