<%- content_for :header_tags do %> <%= stylesheet_link_tag 'index', 'story', :plugin => 'redmine_backlogs' %> <%= javascript_include_tag 'board_updater', 'backlogs_updater', 'index_main', 'backlog', 'story', :plugin => 'redmine_backlogs' %> <%- end %> <%- content_for :breadcrumbs do %> <%= @project.name %> <%- end %> <%- content_for :page_specific_links do %> Info Disable Auto-refresh Refresh <%- end %>
<%= render :partial => "backlog", :collection => @sprints %>
<%= render :partial => "backlog", :object => { :name => l(:backlogs_product_backlog), :stories => @product_backlog_stories }%>
<%= updated_on_with_milliseconds(@last_updated) %>
<%= render :partial => 'rb_stories/story', :object => Story.new %>
<% scores = @project.scrum_statistics.scores info = @project.scrum_statistics.info %>
<% if !scores[:velocity_missing] %>
Velocity<%= info[:velocity] %>
Based on<%= info[:closed_sprints].length %> sprints
Sprint average<%= info[:average_days_per_sprint] %> days
Sprints <% (info[:closed_sprints]).each do |sprint| %> <%= link_to(sprint.name, { :controller => 'backlogs', :action => 'select_issues', :project_id => @project, :sprint_id => sprint.id }) %>
<% end %>
<% else %> No velocity <% end %>