<% content_for :header_tags do %> <%= render :partial => 'shared/backlogs_header' %> <%= javascript_include_tag 'backlogs/app/show_main', 'backlogs/app/taskboard', 'backlogs/app/model', 'backlogs/app/issue', 'backlogs/app/task', 'backlogs/app/impediment', 'backlogs/app/burndown' %> <%= javascript_include_tag url_for(:controller => 'rb_server_variables', :action => 'show', :project_id => @project, :sprint_id => @sprint) %> <%= stylesheet_link_tag 'backlogs/jqplot.css' %> <%= stylesheet_link_tag 'backlogs/taskboard.css', :media => 'print,screen' %> <%= stylesheet_link_tag 'backlogs/taskboard_print.css', :media => 'print' %> <% end %>
<% if @sprint.has_burndown? %> <%= show_burndown_link(@sprint) %> <% end %>
<% breadcrumb_paths(link_to(l(:label_backlogs), backlogs_project_backlogs_path(@project)), link_to(@sprint.name, backlogs_project_backlogs_path(@sprint))) %>

<%= @sprint.name %>

<% @statuses.each do |status| %> <% end %>
<%= l(:backlogs_story) %><%= status.name %>
<% @statuses.each do |status| %> <% end %>
<%= l(:label_sprint_impediments) %>
+ <% impediment_html = render :partial => "rb_impediments/impediment", :collection => impediments_by_position_for_status(@sprint, @project, status) %> <%= impediment_html.present? ? impediment_html : raw(" ") %>
<% @sprint.stories(@project).each do |story| %> <% @statuses.each do |status| %> <% end %> <% end %>
<%= story.status.name %>
<%= issue_link_or_empty(story) %>
<%= story.subject %>
<% if story.assigned_to.present? %> <%= link_to_user(story.assigned_to) %> <% else %> <%= l('backlogs.unassigned') %> <% end %>
+ <% task_html = render :partial => "rb_tasks/task", :collection => story.tasks.select { |task| task.status.id == status.id } %> <%= task_html.present? ? task_html : raw(" ") %>
<%= 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) ) %>