]> source.dussan.org Git - redmine.git/commitdiff
Show project name in front of related issues if cross-project issue relations are...
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Dec 2008 08:48:29 +0000 (08:48 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Dec 2008 08:48:29 +0000 (08:48 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2101 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_relations.rhtml

index d4b3e5aa67244efbc4a421e195a15ba82b868f61..7139210bc5c8a586c5f979b1b4d8cd886b5d391e 100644 (file)
@@ -10,7 +10,8 @@
 <table style="width:100%">
 <% @issue.relations.each do |relation| %>
 <tr>
-<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>
+<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) + ' - ' if Setting.cross_project_issue_relations? %> <%= link_to_issue relation.other_issue(@issue) %></td>
 <td><%=h relation.other_issue(@issue).subject %></td>
 <td><%= relation.other_issue(@issue).status.name %></td>
 <td><%= format_date(relation.other_issue(@issue).start_date) %></td>