fixed #9397 Roadmap - Distinguishing open and closed issues

(closed) is added at the end of closed issue subjects

git-svn-id: http://redmine.rubyforge.org/svn/trunk@360 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-03-21 18:56:47 +00:00
parent f3f75f557a
commit 6e98df0e28
1 changed files with 6 additions and 2 deletions

View File

@ -20,8 +20,12 @@
<p><%= format_date(version.effective_date) %><br /> <p><%= format_date(version.effective_date) %><br />
<%=h version.description %></p> <%=h version.description %></p>
<ul> <ul>
<% version.fixed_issues.find(:all, :conditions => ["issues.tracker_id in (#{@selected_tracker_ids.join(',')})"]).each do |issue| %> <% version.fixed_issues.find(:all,
<li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %></li> :include => :status,
:conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"],
:order => "position").each do |issue| %>
<li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %>
<%= content_tag "em", "(#{l(:label_closed_issues)})" if issue.status.is_closed? %></li>
<% end %> <% end %>
</ul> </ul>
<% end %> <% end %>