%= 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', 'app/burndown', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag url_for(:controller => 'rb_server_variables', :action => 'show', :project_id => @project, :sprint_id => @sprint, :format => :js) %> <%= 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 %>
<%= 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 %>