Index: details.rhtml =================================================================== --- details.rhtml (revision 1128) +++ details.rhtml (working copy) @@ -18,7 +18,8 @@ <%= sort_header_tag('issue_id', :caption => l(:label_issue)) %> <%= l(:field_comments) %> <%= sort_header_tag('hours', :caption => l(:field_hours)) %> - +  +  <% @entries.each do |entry| %> @@ -39,6 +40,7 @@ <%=h entry.comments %> <%= entry.hours %> <%= link_to_if_authorized(l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => entry}, :class => "icon icon-edit") if entry.user_id == @owner_id %> +<%= link_to_if_authorized(l(:button_delete), {:controller => 'timelog', :action => 'destroy', :id => entry}, :class => "icon icon-del") if entry.user_id == @owner_id %> <% end %> @@ -48,4 +50,4 @@ <%= l(:label_export_to) %> <%= link_to 'CSV', params.update(:export => 'csv'), :class => 'icon icon-csv' %> -<% end %> \ No newline at end of file +<% end %>