closed issues are now striked on roadmap

git-svn-id: http://redmine.rubyforge.org/svn/trunk@362 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-03-23 08:13:59 +00:00
parent 5108a9c6fe
commit 59a2d1c974
1 changed files with 6 additions and 1 deletions

View File

@ -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>