Project

General

Profile

Patch #2289 » show_related_issues_project-r2092.diff

Patch based against r2092. - Mischa The Evil, 2008-12-06 23:49

View differences:

app/views/issues/_relations.rhtml (working copy)
10 10
<table style="width:100%">
11 11
<% @issue.relations.each do |relation| %>
12 12
<tr>
13
<td><%= l(relation.label_for(@issue)) %> <%= "(#{lwr(:actionview_datehelper_time_in_words_day, relation.delay)})" if relation.delay && relation.delay != 0 %> <%= link_to_issue relation.other_issue(@issue) %></td>
13
<% if Setting.cross_project_issue_relations? %>
14
  <td><%= l(relation.label_for(@issue)) %><%= " (#{lwr(:actionview_datehelper_time_in_words_day, relation.delay)})" if relation.delay && relation.delay != 0 %>: <%=h relation.other_issue(@issue).project %> - <%= link_to_issue relation.other_issue(@issue) %></td>
15
<% else %>
16
  <td><%= l(relation.label_for(@issue)) %> <%= "(#{lwr(:actionview_datehelper_time_in_words_day, relation.delay)})" if relation.delay && relation.delay != 0 %> <%= link_to_issue relation.other_issue(@issue) %></td>
17
<% end %>
14 18
<td><%=h relation.other_issue(@issue).subject %></td>
15 19
<td><%= relation.other_issue(@issue).status.name %></td>
16 20
<td><%= format_date(relation.other_issue(@issue).start_date) %></td>
(3-3/3)