diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-12-07 08:48:29 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-12-07 08:48:29 +0000 |
commit | a02ee731818d92ecc6dffc83f07f23d2745d0bfb (patch) | |
tree | 77a0efcf19b263cffaa28a0aefd90920eb54ef37 | |
parent | 70fa891d48a108380b48a9185b7698451cd7b6de (diff) | |
download | redmine-a02ee731818d92ecc6dffc83f07f23d2745d0bfb.tar.gz redmine-a02ee731818d92ecc6dffc83f07f23d2745d0bfb.zip |
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
-rw-r--r-- | app/views/issues/_relations.rhtml | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ <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> |