<%=l(:label_change_log)%>

<% form_tag do %>

<%=l(:label_tracker_plural)%>
<% @trackers.each do |tracker| %> <%= check_box_tag "tracker_ids[]", tracker.id, (@selected_tracker_ids.include? tracker.id.to_s) %> <%= tracker.name %>
<% end %>

<%= submit_tag l(:button_apply), :class => 'button-small' %>

<% end %>
<% if @versions.empty? %>

<%= l(:label_no_data) %>

<% end %> <% @versions.each do |version| %>

<%= version.name %>

<% if version.effective_date %>

<%= format_date(version.effective_date) %>

<% end %>

<%=h version.description %>

<% issues = version.fixed_issues.find(:all, :include => [:status, :tracker], :conditions => ["#{IssueStatus.table_name}.is_closed=? AND #{Issue.table_name}.tracker_id in (#{@selected_tracker_ids.join(',')})", true], :order => "#{Tracker.table_name}.position") unless @selected_tracker_ids.empty? issues ||= [] %> <% if !issues.empty? %> <% end %> <% end %>