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