diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-23 08:13:59 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-03-23 08:13:59 +0000 |
commit | 59a2d1c974c9396cb5a5796060c54336a08ae69e (patch) | |
tree | a1036fdde4176429d9e526af08c058bcc2452015 | |
parent | 5108a9c6fea159adfc2ac6e519fe2faa82374d07 (diff) | |
download | redmine-59a2d1c974c9396cb5a5796060c54336a08ae69e.tar.gz redmine-59a2d1c974c9396cb5a5796060c54336a08ae69e.zip |
closed issues are now striked on roadmap
git-svn-id: http://redmine.rubyforge.org/svn/trunk@362 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/projects/roadmap.rhtml | 7 |
1 files changed, 6 insertions, 1 deletions
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| %> - <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %> + <li> + <%= + 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? %></li> <% end %> </ul> |