From 59a2d1c974c9396cb5a5796060c54336a08ae69e Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 23 Mar 2007 08:13:59 +0000 Subject: [PATCH] closed issues are now striked on roadmap git-svn-id: http://redmine.rubyforge.org/svn/trunk@362 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/roadmap.rhtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/projects/roadmap.rhtml b/app/views/projects/roadmap.rhtml index bb6cfcfe6..38e5fbd15 100644 --- a/app/views/projects/roadmap.rhtml +++ b/app/views/projects/roadmap.rhtml @@ -24,7 +24,12 @@ :include => :status, :conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"], :order => "position").each do |issue| %> -
  • <%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %> +
  • + <%= + link = link_to("#{issue.tracker.name} ##{issue.id}", :controller => 'issues', :action => 'show', :id => issue) + issue.status.is_closed? ? content_tag("del", link) : link + %> : <%=h issue.subject %> + <%= content_tag "em", "(#{l(:label_closed_issues)})" if issue.status.is_closed? %>
  • <% end %> -- 2.39.5