<% content_for :head_tags do %> <%= javascript_include_tag 'show_main', 'board_updater', 'taskboard_updater', 'taskboard', 'model', 'issue', 'task', 'impediment', :plugin => 'redmine_backlogs' %> <%= 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 %> <% content_for :breadcrumbs do %> <%= link_to l(:label_master_backlog), :controller => "rb_master_backlogs", :action => "show", :project_id => @project %> <%= breadcrumb_separator %> <%= @sprint.name %> <% end %> <%- content_for :view_specific_links do %> <% if @sprint.has_burndown %> <%= l(:label_burndown) %> <% end %> Column width: Disable Auto-refresh Refresh <%- end %> <%- content_for :main do %>
<%- @statuses.each do |status| %> <%- end %>
<%= l(:backlogs_story) %><%= status.name %>
<%= l(:label_sprint_impediments) %> <%- @statuses.each do |status| %> <%- end %>
+ <%= 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.id}, { :target => "_blank" } %>
<%= story.subject %>
+ <%= render :partial => "rb_tasks/task", :collection => story.children.select{|task| task.status.id==status.id} %>
<%- end %> <%- content_for :helpers do %>
<%= 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) ) %>
<%- end %>