From: Jean-Philippe Lang Date: Sun, 7 Dec 2008 08:48:29 +0000 (+0000) Subject: Show project name in front of related issues if cross-project issue relations are... X-Git-Tag: 0.9.0~901 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a02ee731818d92ecc6dffc83f07f23d2745d0bfb;p=redmine.git Show project name in front of related issues if cross-project issue relations are enabled (#2282). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2101 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/_relations.rhtml b/app/views/issues/_relations.rhtml index d4b3e5aa6..7139210bc 100644 --- a/app/views/issues/_relations.rhtml +++ b/app/views/issues/_relations.rhtml @@ -10,7 +10,8 @@ <% @issue.relations.each do |relation| %> - +
<%= 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) %><%= 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) %> <%=h relation.other_issue(@issue).subject %> <%= relation.other_issue(@issue).status.name %> <%= format_date(relation.other_issue(@issue).start_date) %>