Feature #588 » details.rhtml.patch
| details.rhtml (working copy) | ||
|---|---|---|
|
<%= sort_header_tag('issue_id', :caption => l(:label_issue)) %>
|
||
|
<th><%= l(:field_comments) %></th>
|
||
|
<%= sort_header_tag('hours', :caption => l(:field_hours)) %>
|
||
|
<th></th>
|
||
|
<th> </th>
|
||
|
<th> </th>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
<% @entries.each do |entry| %>
|
||
| ... | ... | |
|
<td><%=h entry.comments %></td>
|
||
|
<td align="center"><strong><%= entry.hours %></strong></td>
|
||
|
<td align="center"><%= link_to_if_authorized(l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => entry}, :class => "icon icon-edit") if entry.user_id == @owner_id %></td>
|
||
|
<td align="center"><%= link_to_if_authorized(l(:button_delete), {:controller => 'timelog', :action => 'destroy', :id => entry}, :class => "icon icon-del") if entry.user_id == @owner_id %></td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
|
</tbdoy>
|
||
| ... | ... | |
|
<%= l(:label_export_to) %>
|
||
|
<%= link_to 'CSV', params.update(:export => 'csv'), :class => 'icon icon-csv' %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
<% end %>
|
||