@@ -10,17 +10,18 | |||||
10 | <form> |
|
10 | <form> | |
11 | <table class="list issues"> |
|
11 | <table class="list issues"> | |
12 | <% @relations.each do |relation| %> |
|
12 | <% @relations.each do |relation| %> | |
|
13 | <% other_issue = relation.other_issue(@issue) -%> | |||
13 | <tr class="issue hascontextmenu" id="relation-<%= relation.id %>"> |
|
14 | <tr class="issue hascontextmenu" id="relation-<%= relation.id %>"> | |
14 |
<td class="checkbox"><%= check_box_tag("ids[]", |
|
15 | <td class="checkbox"><%= check_box_tag("ids[]", other_issue.id, false, :id => nil) %></td> | |
15 | <td class="subject"> |
|
16 | <td class="subject"> | |
16 | <%= l(relation.label_for(@issue)) %> |
|
17 | <%= l(relation.label_for(@issue)) %> | |
17 | <%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %> |
|
18 | <%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %> | |
18 |
<%= h( |
|
19 | <%= h(other_issue.project) + ' - ' if Setting.cross_project_issue_relations? %> | |
19 |
<%= link_to_issue( |
|
20 | <%= link_to_issue(other_issue, :truncate => 60) %> | |
20 | </td> |
|
21 | </td> | |
21 |
<td class="status"><%=h |
|
22 | <td class="status"><%=h other_issue.status.name %></td> | |
22 |
<td class="start_date"><%= format_date( |
|
23 | <td class="start_date"><%= format_date(other_issue.start_date) %></td> | |
23 |
<td class="due_date"><%= format_date( |
|
24 | <td class="due_date"><%= format_date(other_issue.due_date) %></td> | |
24 | <td class="buttons"><%= link_to image_tag('link_break.png'), |
|
25 | <td class="buttons"><%= link_to image_tag('link_break.png'), | |
25 | relation_path(relation), |
|
26 | relation_path(relation), | |
26 | :remote => true, |
|
27 | :remote => true, |
General Comments 0
You need to be logged in to leave comments.
Login now