diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-21 18:56:47 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-21 18:56:47 +0000 |
commit | 6e98df0e28ffad0ba9669f8aeaea718eb8edadaa (patch) | |
tree | cbceaea0d37ea8039a4ed908a2c109bcf782588e | |
parent | f3f75f557a34a4b6183aa0cdf8b95f4ce5864850 (diff) | |
download | redmine-6e98df0e28ffad0ba9669f8aeaea718eb8edadaa.tar.gz redmine-6e98df0e28ffad0ba9669f8aeaea718eb8edadaa.zip |
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
-rw-r--r-- | app/views/projects/roadmap.rhtml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml index 0aac5a7e2..bb6cfcfe6 100644 --- a/app/views/projects/roadmap.rhtml +++ b/app/views/projects/roadmap.rhtml @@ -20,8 +20,12 @@ <p><%= format_date(version.effective_date) %><br /> <%=h version.description %></p> <ul> - <% version.fixed_issues.find(:all, :conditions => ["issues.tracker_id in (#{@selected_tracker_ids.join(',')})"]).each do |issue| %> - <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %></li> + <% version.fixed_issues.find(:all, + :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 %> </ul> <% end %> |