_relations.diff

Luis Serrano Aranda, 2011-05-20 14:29

Download (911 Bytes)

View differences:

_relations.rhtml 2011-05-20 14:23:42.863235546 +0200
17 17
<td><%= relation.other_issue(@issue).status.name %></td>
18 18
<td><%= format_date(relation.other_issue(@issue).start_date) %></td>
19 19
<td><%= format_date(relation.other_issue(@issue).due_date) %></td>
20
<td><%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},    
20
<td><%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},  :confirm => l(:text_are_you_sure),    
21 21
                                                   :method => :post
22 22
                                                }, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>
23 23
</tr>