--- _relations1.rhtml 2011-05-20 14:23:26.043234328 +0200
+++ _relations.rhtml 2011-05-20 14:23:42.863235546 +0200
@@ -17,7 +17,7 @@
<%= relation.other_issue(@issue).status.name %> |
<%= format_date(relation.other_issue(@issue).start_date) %> |
<%= format_date(relation.other_issue(@issue).due_date) %> |
-<%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},
+ | <%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation}, :confirm => l(:text_are_you_sure),
:method => :post
}, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %> |