@@ -27,9 +27,9 | |||||
27 | <td class="hours"><%= html_hours("%.2f" % entry.hours) %></td> |
|
27 | <td class="hours"><%= html_hours("%.2f" % entry.hours) %></td> | |
28 | <td align="center"> |
|
28 | <td align="center"> | |
29 | <% if entry.editable_by?(User.current) -%> |
|
29 | <% if entry.editable_by?(User.current) -%> | |
30 | <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry}, |
|
30 | <%= link_to image_tag('edit.png'), {:controller => 'timelog', :action => 'edit', :id => entry, :project_id => nil}, | |
31 | :title => l(:button_edit) %> |
|
31 | :title => l(:button_edit) %> | |
32 | <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry}, |
|
32 | <%= link_to image_tag('delete.png'), {:controller => 'timelog', :action => 'destroy', :id => entry, :project_id => nil}, | |
33 | :confirm => l(:text_are_you_sure), |
|
33 | :confirm => l(:text_are_you_sure), | |
34 | :method => :post, |
|
34 | :method => :post, | |
35 | :title => l(:button_delete) %> |
|
35 | :title => l(:button_delete) %> |
General Comments 0
You need to be logged in to leave comments.
Login now