<% @versions.each do |version| %>
<%= tag 'a', :name => version.name %>
<%= link_to h(version.name), :controller => 'versions', :action => 'show', :id => version %>
<%= render :partial => 'versions/overview', :locals => {:version => version} %>
<%= render(:partial => "wiki/content", :locals => {:content => version.wiki_page.content}) if version.wiki_page %>
<% issues = version.fixed_issues.find(:all,
:include => [:status, :tracker],
:conditions => ["tracker_id in (#{@selected_tracker_ids.join(',')})"],
:order => "#{Tracker.table_name}.position, #{Issue.table_name}.id") unless @selected_tracker_ids.empty?
issues ||= []
%>
<% if issues.size > 0 %>
<% end %>
<%= call_hook :view_projects_roadmap_version_bottom, :version => version %>
<% end %>
<% end %>
<% content_for :sidebar do %>
<% form_tag({}, :method => :get) do %>