kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
3.4 KiB
84 lines
3.4 KiB
<div class="<%= backlog_html_class(backlog)%>" id="<%= backlog_html_id(backlog) %>">
|
|
<div class="header">
|
|
<div class="name <%= editable_if_sprint(backlog) %>" fieldname="name"><%= backlog[:name] %></div>
|
|
<%- if is_sprint?(backlog) %>
|
|
<div class="dates">
|
|
<div class="sprint_start_date datepicker editable" fieldname="sprint_start_date"><%= date_or_nil(backlog.sprint_start_date) %></div>
|
|
<div class="effective_date datepicker editable" fieldname="effective_date"><%= date_or_nil(backlog.effective_date) %></div>
|
|
</div>
|
|
<div class="points"><%= backlog.points %></div>
|
|
<%- else %>
|
|
<a class='new_story'>New story</a>
|
|
<%- end %>
|
|
<%= backlog_menu is_sprint?(backlog),
|
|
[
|
|
{
|
|
:item => menu_link(l(:label_task_board), {
|
|
:controller => 'rb_taskboards',
|
|
:action => 'show',
|
|
:sprint_id => backlog }),
|
|
:for => :sprint
|
|
},
|
|
{
|
|
:item => menu_link(l(:label_stories_tasks), {
|
|
:controller => 'backlogs',
|
|
:action => 'select_issues',
|
|
:project_id => @project,
|
|
:sprint_id => backlog }),
|
|
:for => :sprint
|
|
},
|
|
{
|
|
:item => menu_link(l(:label_stories), {
|
|
:controller => 'backlogs',
|
|
:action => 'select_issues',
|
|
:project_id => @project }),
|
|
:for => :product
|
|
},
|
|
{
|
|
:item => "<a class='show_charts' href='#{backlog[:id]}'>#{l(:label_burndown)}</a>",
|
|
:for => :sprint,
|
|
:condition => (backlog.respond_to?(:has_burndown) and backlog.has_burndown)
|
|
},
|
|
{
|
|
:item => menu_link(l(:label_printable_cards), {
|
|
:controller => 'rb_stories',
|
|
:action => 'index',
|
|
:project_id => @project,
|
|
:sprint_id => backlog,
|
|
:format => :pdf }),
|
|
:for => :sprint
|
|
},
|
|
{
|
|
:item => menu_link(l(:label_printable_cards), {
|
|
:controller => 'rb_stories',
|
|
:action => 'index',
|
|
:project_id => @project,
|
|
:format => :pdf }),
|
|
:for => :product
|
|
},
|
|
{
|
|
:item => menu_link(l(:label_wiki), {
|
|
:controller => 'rb_wikis',
|
|
:action => 'edit',
|
|
:project_id => @project.id,
|
|
:sprint_id => backlog[:id] }),
|
|
:for => :sprint,
|
|
:condition => @project.enabled_modules.any? {|m| m.name=="wiki" }
|
|
},
|
|
{
|
|
:item => "<a class='select_all'>#{l(:label_select_all)}</a>",
|
|
:for => :both
|
|
},
|
|
{
|
|
:item => "<a class='unselect_all'>Unselect All</a>",
|
|
:for => :both
|
|
}
|
|
]
|
|
%>
|
|
<div class="id"><%= backlog_id_or_empty(backlog) %></div>
|
|
<div class="spinner"> </div>
|
|
</div><!-- class="header" -->
|
|
<ul class="stories">
|
|
<%= render :partial => "rb_stories/story", :collection => stories(backlog) %>
|
|
</ul>
|
|
</div>
|
|
|