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