code layout clean up app/views/issues/_relations.html.erb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8604 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-01-10 08:06:46 +00:00
parent 35a5369473
commit b0824ea5a4
1 changed files with 6 additions and 3 deletions

View File

@ -19,9 +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
}, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>
<td class="buttons"><%= link_to_remote(
image_tag('link_break.png'),
{ :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
:method => :delete },
:title => l(:label_relation_delete)
) if authorize_for('issue_relations', 'destroy') %></td>
</tr>
<% end %>
</table>