]> source.dussan.org Git - redmine.git/commitdiff
Backported r8883 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 5 Mar 2012 13:09:46 +0000 (13:09 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 5 Mar 2012 13:09:46 +0000 (13:09 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.3-stable@9119 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_relations.html.erb

index 4c114c485395963285b9aa04e0a2ff886ff4e058..8c8b0794c56b0f202194cfb3b3867987f8753751 100644 (file)
@@ -20,7 +20,8 @@
 <td class="start_date"><%= format_date(relation.other_issue(@issue).start_date) %></td>
 <td class="due_date"><%= format_date(relation.other_issue(@issue).due_date) %></td>
 <td class="buttons"><%= link_to_remote(image_tag('link_break.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
-                                                  :method => :delete
+                                                  :method => :delete,
+                                                  :confirm => l(:text_are_you_sure)
                                                 }, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>
 </tr>
 <% end %>