@@ -1,28 +1,30 | |||
|
1 | 1 | <h2><%=l(:label_change_log)%></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 | <% if @fixed_issues.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %> | |
|
17 | ||
|
16 | 18 | <% ver_id = nil |
|
17 | 19 | @fixed_issues.each do |issue| %> |
|
18 | 20 | <% unless ver_id == issue.fixed_version_id %> |
|
19 | 21 | <% if ver_id %></ul><% end %> |
|
20 | 22 | <h3 class="icon22 icon22-package"><%= issue.fixed_version.name %></h3> |
|
21 | 23 | <p><%= format_date(issue.fixed_version.effective_date) %><br /> |
|
22 | 24 | <%=h issue.fixed_version.description %></p> |
|
23 | 25 | <ul> |
|
24 | 26 | <% ver_id = issue.fixed_version_id |
|
25 | 27 | end %> |
|
26 | 28 | <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %></li> |
|
27 | 29 | <% end %> |
|
28 | 30 | </div> No newline at end of file |
@@ -1,26 +1,28 | |||
|
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 | <% if @versions.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %> | |
|
17 | ||
|
16 | 18 | <% @versions.each do |version| %> |
|
17 | 19 | <h3 class="icon22 icon22-package"><%= version.name %></h3> |
|
18 | 20 | <p><%= format_date(version.effective_date) %><br /> |
|
19 | 21 | <%=h version.description %></p> |
|
20 | 22 | <ul> |
|
21 | 23 | <% version.fixed_issues.find(:all, :conditions => ["issues.tracker_id in (#{@selected_tracker_ids.join(',')})"]).each do |issue| %> |
|
22 | 24 | <li><%= link_to "#{issue.tracker.name} #{issue.id}", :controller => 'issues', :action => 'show', :id => issue %>: <%=h issue.subject %></li> |
|
23 | 25 | <% end %> |
|
24 | 26 | </ul> |
|
25 | 27 | <% end %> |
|
26 | 28 | </div> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now