Project

General

Profile

Feature #4316 » timelog_list_status_column.patch

Ngewi Fet, 2010-01-30 14:41

View differences:

views/timelog/_list.rhtml (working copy)
8 8
<%= sort_header_tag('issue', :caption => l(:label_issue), :default_order => 'desc') %>
9 9
<th><%= l(:field_comments) %></th>
10 10
<%= sort_header_tag('hours', :caption => l(:field_hours)) %>
11
<th><%= l(:field_status) %> </th>
11 12
<th></th>
12 13
</tr>
13 14
</thead>
......
25 26
</td>
26 27
<td class="comments"><%=h entry.comments %></td>
27 28
<td class="hours"><%= html_hours("%.2f" % entry.hours) %></td>
29
<td class="status"> <%=h entry.issue.status.name  %> </td>
28 30
<td align="center">
29 31
<% if entry.editable_by?(User.current) -%>
30 32
    <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry, :project_id => nil},
(4-4/4)