<%= render :partial => 'shared/backlogs_header' %> <% content_for :header_tags do %> <%= javascript_include_tag 'app/show_main', 'app/board_updater', 'app/taskboard_updater', 'app/taskboard', 'app/model', 'app/issue', 'app/task', 'app/impediment', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag url_for(:controller => 'rb_server_variables', :action => 'show', :project_id => @project, :sprint_id => @sprint) %> <%= stylesheet_link_tag 'jqplot.css', :plugin => 'redmine_backlogs' %> <%= theme_stylesheet_link_tag 'taskboard.css', :media => 'print,screen' %> <%= theme_stylesheet_link_tag 'taskboard_print.css', :media => 'print' %> <% end %>
<% if @sprint.has_burndown %> <%= l(:label_burndown) %> <% end %> <%# TODO i18n %>

<%= link_to @sprint.name, rb_taskboard_path(@sprint) %>

<% @statuses.each do |status| %> <% end %>
<%= l(:backlogs_story) %><%= status.name %>
<% @statuses.each do |status| %> <% end %>
<%= l(:label_sprint_impediments) %>
+ <%= render :partial => "rb_impediments/impediment", :collection => @sprint.impediments.select { |impediment| impediment.status_id == status.id } %>
<% @sprint.stories.each do |story| %> <% @statuses.each do |status| %> <% end %> <% end %>
<%= link_to story.id, :controller => 'issues', :action => 'show', :id => story %>
<%= story.subject %>
+ <%= render :partial => "rb_tasks/task", :collection => story.descendants.select { |task| task.status.id == status.id } %>
<%= render :partial => "rb_tasks/task", :object => Task.new %>
<%= render :partial => "rb_impediments/impediment", :object => Task.new %>
<%= date_string_with_milliseconds( (@last_updated.blank? ? Time.now : @last_updated.updated_on) ) %>