Removes a call to link_to_remote.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10028 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
b0757bbdf6
commit
6f3c339e5e
|
@ -19,13 +19,12 @@
|
|||
<td class="status"><%=h relation.other_issue(@issue).status.name %></td>
|
||||
<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,
|
||||
:data => {:confirm => l(:text_are_you_sure)} },
|
||||
:title => l(:label_relation_delete)
|
||||
) if authorize_for('issue_relations', 'destroy') %></td>
|
||||
<td class="buttons"><%= link_to image_tag('link_break.png'),
|
||||
{:controller => 'issue_relations', :action => 'destroy', :id => relation},
|
||||
:remote => true,
|
||||
:method => :delete,
|
||||
:data => {:confirm => l(:text_are_you_sure)},
|
||||
:title => l(:label_relation_delete) if User.current.allowed_to?(:manage_issue_relations, @project) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue