##// END OF EJS Templates
Removes a call to link_to_remote....
Jean-Philippe Lang -
r9845:6f3c339e5e41
parent child
Show More
@@ -19,13 +19,12
19 <td class="status"><%=h relation.other_issue(@issue).status.name %></td>
19 <td class="status"><%=h relation.other_issue(@issue).status.name %></td>
20 <td class="start_date"><%= format_date(relation.other_issue(@issue).start_date) %></td>
20 <td class="start_date"><%= format_date(relation.other_issue(@issue).start_date) %></td>
21 <td class="due_date"><%= format_date(relation.other_issue(@issue).due_date) %></td>
21 <td class="due_date"><%= format_date(relation.other_issue(@issue).due_date) %></td>
22 <td class="buttons"><%= link_to_remote(
22 <td class="buttons"><%= link_to image_tag('link_break.png'),
23 image_tag('link_break.png'),
23 {:controller => 'issue_relations', :action => 'destroy', :id => relation},
24 { :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
24 :remote => true,
25 :method => :delete,
25 :method => :delete,
26 :data => {:confirm => l(:text_are_you_sure)} },
26 :data => {:confirm => l(:text_are_you_sure)},
27 :title => l(:label_relation_delete)
27 :title => l(:label_relation_delete) if User.current.allowed_to?(:manage_issue_relations, @project) %></td>
28 ) if authorize_for('issue_relations', 'destroy') %></td>
29 </tr>
28 </tr>
30 <% end %>
29 <% end %>
31 </table>
30 </table>
General Comments 0
You need to be logged in to leave comments. Login now