From: Jean-Philippe Lang Date: Mon, 11 Apr 2011 19:30:33 +0000 (+0000) Subject: Adds a specific icon for deleting a relation. X-Git-Tag: 1.2.0~428 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=34f1bc0f08153a4e4c0b0b3639ea97b91e6e816f;p=redmine.git Adds a specific icon for deleting a relation. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5424 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_relations.rhtml b/app/views/issues/_relations.rhtml index cc2661ae7..59638a97a 100644 --- a/app/views/issues/_relations.rhtml +++ b/app/views/issues/_relations.rhtml @@ -19,7 +19,7 @@ <%= relation.other_issue(@issue).status.name %> <%= format_date(relation.other_issue(@issue).start_date) %> <%= format_date(relation.other_issue(@issue).due_date) %> -<%= link_to_remote(image_tag('delete.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :issue_id => @issue, :id => relation}, +<%= 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') %> diff --git a/public/images/link_break.png b/public/images/link_break.png new file mode 100644 index 000000000..523575306 Binary files /dev/null and b/public/images/link_break.png differ