##// END OF EJS Templates
fixed #9397 Roadmap - Distinguishing open and closed issues...
Jean-Philippe Lang -
r357:6e98df0e28ff
parent child
Show More
@@ -1,28 +1,32
1 1 <h2><%=l(:label_roadmap)%></h2>
2 2
3 3 <div>
4 4
5 5 <div class="rightbox" style="width:140px;">
6 6 <% form_tag do %>
7 7 <p><strong><%=l(:label_tracker_plural)%></strong></p>
8 8 <% @trackers.each do |tracker| %>
9 9 <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
10 10 <%= tracker.name %><br />
11 11 <% end %>
12 12 <p><center><%= submit_tag l(:button_apply), :class => 'button-small' %></center></p>
13 13 <% end %>
14 14 </div>
15 15
16 16 <% if @versions.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %>
17 17
18 18 <% @versions.each do |version| %>
19 19 <h3 class="icon22 icon22-package"><%= version.name %></h3>
20 20 <p><%= format_date(version.effective_date) %><br />
21 21 <%=h version.description %></p>
22 22 <ul>
23 <% version.fixed_issues.find(:all, :conditions => ["issues.tracker_id in (#{@selected_tracker_ids.join(',')})"]).each do |issue| %>
24 <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %></li>
23 <% version.fixed_issues.find(:all,
24 :include => :status,
25 :conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"],
26 :order => "position").each do |issue| %>
27 <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %>
28 <%= content_tag "em", "(#{l(:label_closed_issues)})" if issue.status.is_closed? %></li>
25 29 <% end %>
26 30 </ul>
27 31 <% end %>
28 32 </div> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now