]> source.dussan.org Git - redmine.git/commitdiff
Adds a specific icon for deleting a relation.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 11 Apr 2011 19:30:33 +0000 (19:30 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 11 Apr 2011 19:30:33 +0000 (19:30 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5424 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_relations.rhtml
public/images/link_break.png [new file with mode: 0644]

index cc2661ae7300b2339123cfa31fa6c97708d42b11..59638a97a7720e99fbf93243ca44fbc621685b03 100644 (file)
@@ -19,7 +19,7 @@
 <td class="status"><%= 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('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},                                              
+<td class="buttons"><%= link_to_remote(image_tag('link_break.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation},                                              
                                                   :method => :post
                                                 }, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>
 </tr>
diff --git a/public/images/link_break.png b/public/images/link_break.png
new file mode 100644 (file)
index 0000000..5235753
Binary files /dev/null and b/public/images/link_break.png differ