Adds confirmation message to relation delete link (#8413).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8883 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6a290cc281
commit
8792131e03
|
@ -22,7 +22,8 @@
|
|||
<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>
|
||||
|
|
Loading…
Reference in New Issue