%= render :partial => "common/scrum_menu" %>
<%= l(:label_sprint_board) %>
<%= render :partial => "post_its/sprint_board/head",
:locals => {:project => @project, :sprint => @sprint, :path => method(:sprint_path)} %>
<%= l(:label_pbi_plural) %> |
<%- task_statuses = IssueStatus.task_statuses
task_statuses.each do |status| -%>
<%= status.name %> |
<%- end -%>
<%- @sprint.pbis.each do |pbi| -%>
<%= render :partial => "post_its/sprint_board/pbi_row",
:locals => {:project => @project, :pbi => pbi, :task_statuses => task_statuses} %>
<%- end -%>
<%- if User.current.allowed_to?(:add_issues, @project) and
User.current.allowed_to?(:edit_sprint_board, @project) -%>
<%- Tracker.pbi_trackers.each do |tracker| -%>
<%= link_to tracker.name, new_pbi_path(@sprint, tracker), :remote => true,
:method => "GET", :class => "icon icon-add" %>
<%- end -%>
<%- end -%>
<%= render :partial => "common/scrum_footer" %>