<%=l(:label_roadmap)%>
<% if @versions.empty? %>
<%= l(:label_no_data) %>
<% end %>
<% @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") unless @selected_tracker_ids.empty?
issues ||= []
%>
<% if issues.size > 0 %>
<% issues.each do |issue| %>
-
<%= link = link_to_issue(issue)
issue.status.is_closed? ? content_tag("del", link) : link %>: <%=h issue.subject %>
<%= content_tag "em", "(#{l(:label_closed_issues)})" if issue.status.is_closed? %>
<% end %>
<% end %>
<% end %>
<% content_for :sidebar do %>
<% form_tag do %>
<%= l(:label_roadmap) %>
<% @trackers.each do |tracker| %>
<% end %>