1 <h2><%=l(:label_change_log)%></h2>
3 <% if @versions.empty? %>
4 <p class="nodata"><%= l(:label_no_data) %></p>
7 <% @versions.each do |version| %>
8 <%= tag 'a', :name => version.name %>
9 <h3 class="icon22 icon22-package"><%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %></h3>
10 <% if version.effective_date %>
11 <p><%= format_date(version.effective_date) %></p>
13 <p><%=h version.description %></p>
14 <% issues = version.fixed_issues.find(:all,
15 :include => [:status, :tracker, :priority],
16 :conditions => ["#{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (#{@selected_tracker_ids.join(',')})", true],
17 :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty?
20 <% if !issues.empty? %>
22 <% issues.each do |issue| %>
23 <li><%= link_to_issue(issue) %></li>
29 <% content_for :sidebar do %>
30 <% form_tag({},:method => :get) do %>
31 <h3><%= l(:label_change_log) %></h3>
32 <% @trackers.each do |tracker| %>
33 <label><%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %>
34 <%= tracker.name %></label><br />
36 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
39 <h3><%= l(:label_version_plural) %></h3>
40 <% @versions.each do |version| %>
41 <%= link_to version.name, :anchor => version.name %><br />