Mercurial > hg > soundsoftware-site
comparison app/views/issues/.svn/text-base/_relations.rhtml.svn-base @ 210:0579821a129a
Update to Redmine trunk rev 4802
author | Chris Cannam |
---|---|
date | Tue, 08 Feb 2011 13:51:46 +0000 |
parents | 40f7cfd4df19 |
children | cbce1fd3b1b7 |
comparison
equal
deleted
inserted
replaced
128:07fa8a8b56a8 | 210:0579821a129a |
---|---|
4 <% end %> | 4 <% end %> |
5 </div> | 5 </div> |
6 | 6 |
7 <p><strong><%=l(:label_related_issues)%></strong></p> | 7 <p><strong><%=l(:label_related_issues)%></strong></p> |
8 | 8 |
9 <% if @issue.relations.any? %> | 9 <% if @relations.present? %> |
10 <table style="width:100%"> | 10 <table style="width:100%"> |
11 <% @issue.relations.select {|r| r.other_issue(@issue).visible? }.each do |relation| %> | 11 <% @relations.each do |relation| %> |
12 <tr> | 12 <tr> |
13 <td><%= l(relation.label_for(@issue)) %> <%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %> | 13 <td><%= l(relation.label_for(@issue)) %> <%= "(#{l('datetime.distance_in_words.x_days', :count => relation.delay)})" if relation.delay && relation.delay != 0 %> |
14 <%= h(relation.other_issue(@issue).project) + ' - ' if Setting.cross_project_issue_relations? %> | 14 <%= h(relation.other_issue(@issue).project) + ' - ' if Setting.cross_project_issue_relations? %> |
15 <%= link_to_issue(relation.other_issue(@issue), :truncate => 60) %> | 15 <%= link_to_issue(relation.other_issue(@issue), :truncate => 60) %> |
16 </td> | 16 </td> |