<%= 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.id, :sprint_id => @sprint.id) %> <%= stylesheet_link_tag 'jqplot.css', :plugin => 'redmine_backlogs' %> <%= stylesheet_link_tag 'taskboard.css', :media => 'print,screen', :plugin => 'redmine_backlogs' %> <%= stylesheet_link_tag 'taskboard_print.css', :media => 'print', :plugin => 'redmine_backlogs' %> <% end %>
<% if @sprint.has_burndown? %> <%= l(:label_burndown) %> <% end %>
<%= breadcrumb(link_to l(:label_backlogs), rb_master_backlog_path(@project)) %>

<%= 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 => impediments_by_position_for_status(@sprint, @project, status) %>
<% @sprint.stories(@project).each do |story| %> <% @statuses.each do |status| %> <% end %> <% end %>
<%= story.status.name %>
<%= link_to story.id, :controller => 'issues', :action => 'show', :id => story %>
<%= story.subject %>
<% if story.assigned_to.present? %> <%= link_to_user(story.assigned_to) %> <% else %> <%= l('backlogs.unassigned') %> <% end %>
+ <%= render :partial => "rb_tasks/task", :collection => story.tasks.select { |task| task.status.id == status.id } %>
<%= render :partial => "rb_tasks/task", :object => Task.new %>
<%= render :partial => "rb_impediments/impediment", :object => Impediment.new %>
<%= date_string_with_milliseconds( (@last_updated.blank? ? Time.now : @last_updated.updated_on) ) %>