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(
|
<td class="buttons"><%= link_to_remote(
|
||||||
image_tag('link_break.png'),
|
image_tag('link_break.png'),
|
||||||
{ :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
|
{ :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
|
||||||
:method => :delete },
|
:method => :delete,
|
||||||
|
:confirm => l(:text_are_you_sure) },
|
||||||
:title => l(:label_relation_delete)
|
:title => l(:label_relation_delete)
|
||||||
) if authorize_for('issue_relations', 'destroy') %></td>
|
) if authorize_for('issue_relations', 'destroy') %></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
Loading…
Reference in New Issue