##// END OF EJS Templates
code layout clean up app/views/issues/_relations.html.erb...
Toshi MARUYAMA -
r8484:b0824ea5a416
parent child
Show More
@@ -19,9 +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(image_tag('link_break.png'), { :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
22 <td class="buttons"><%= link_to_remote(
23 :method => :delete
23 image_tag('link_break.png'),
24 }, :title => l(:label_relation_delete)) if authorize_for('issue_relations', 'destroy') %></td>
24 { :url => {:controller => 'issue_relations', :action => 'destroy', :id => relation},
25 :method => :delete },
26 :title => l(:label_relation_delete)
27 ) if authorize_for('issue_relations', 'destroy') %></td>
25 </tr>
28 </tr>
26 <% end %>
29 <% end %>
27 </table>
30 </table>
General Comments 0
You need to be logged in to leave comments. Login now