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)
<%= sort_header_tag('issue', :caption => l(:label_issue), :default_order => 'desc') %>
<th><%= l(:field_comments) %></th>
<%= sort_header_tag('hours', :caption => l(:field_hours)) %>
<th><%= l(:field_status) %> </th>
<th></th>
</tr>
</thead>
......
</td>
<td class="comments"><%=h entry.comments %></td>
<td class="hours"><%= html_hours("%.2f" % entry.hours) %></td>
<td class="status"> <%=h entry.issue.status.name %> </td>
<td align="center">
<% if entry.editable_by?(User.current) -%>
<%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry, :project_id => nil},
(4-4/4)