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.
124 lines
4.7 KiB
124 lines
4.7 KiB
<%= render :partial => 'shared/backlogs_header' %>
|
|
|
|
<% content_for :header_tags do %>
|
|
<%= javascript_include_tag 'backlogs/app/show_main',
|
|
'backlogs/app/taskboard',
|
|
'backlogs/app/model',
|
|
'backlogs/app/issue',
|
|
'backlogs/app/task',
|
|
'backlogs/app/impediment',
|
|
'backlogs/app/burndown' %>
|
|
|
|
<%= javascript_include_tag url_for(:controller => 'rb_server_variables',
|
|
:action => 'show',
|
|
:project_id => @project,
|
|
:sprint_id => @sprint) %>
|
|
|
|
<%= stylesheet_link_tag 'backlogs/jqplot.css' %>
|
|
<%= stylesheet_link_tag 'backlogs/taskboard.css', :media => 'print,screen' %>
|
|
<%= stylesheet_link_tag 'backlogs/taskboard_print.css', :media => 'print' %>
|
|
<% end %>
|
|
|
|
<div class="contextual">
|
|
<% if @sprint.has_burndown? %>
|
|
<%= show_burndown_link(@sprint) %>
|
|
<% end %>
|
|
|
|
<span id="col_width">
|
|
<label for="col_width_input"><%= l('backlogs.column_with') %></label>
|
|
<input id="col_width_input" name="col_width" type='text' />
|
|
</span>
|
|
</div>
|
|
|
|
<% breadcrumb_paths(link_to(l(:label_backlogs), backlogs_project_backlogs_path(@project)), link_to(@sprint.name, backlogs_project_backlogs_path(@sprint))) %>
|
|
|
|
<h2>
|
|
<%= link_to @sprint.name, backlogs_project_backlogs_path(@sprint) %>
|
|
</h2>
|
|
|
|
<div id='rb'>
|
|
<div id="taskboard">
|
|
<table id="board_header" cellspacing="0">
|
|
<tr>
|
|
<td><%= l(:backlogs_story) %></td>
|
|
<% @statuses.each do |status| %>
|
|
<td class="swimlane"><%= status.name %></td>
|
|
<% end %>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="impediments" class="board" cellspacing="0">
|
|
<tr>
|
|
<td><div class="label_sprint_impediments"><%= l(:label_sprint_impediments) %></div></td>
|
|
<td class="add_new">+</td>
|
|
<% @statuses.each do |status| %>
|
|
<td class="swimlane list <%= status.is_closed? ? 'closed' : '' %>" id="impcell_<%= status.id %>">
|
|
<% impediment_html = render :partial => "rb_impediments/impediment",
|
|
:collection => impediments_by_position_for_status(@sprint, @project, status) %>
|
|
<%= impediment_html.present? ? impediment_html : raw(" ") %>
|
|
</td>
|
|
<% end %>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="tasks" class="board" cellspacing="0">
|
|
<% @sprint.stories(@project).each do |story| %>
|
|
<tr class="<%= story_html_id_or_empty(story) %>">
|
|
<td>
|
|
<div class="story <%= mark_if_closed(story) %>" id="<%= story_html_id_or_empty(story) %>">
|
|
<div class='story-bar'>
|
|
<div class="status">
|
|
<%= story.status.name %>
|
|
</div>
|
|
<div class="id">
|
|
<%= issue_link_or_empty(story) %>
|
|
</div>
|
|
</div>
|
|
<div class="subject"><%= story.subject %></div>
|
|
<div class="assigned_to_id">
|
|
<% if story.assigned_to.present? %>
|
|
<%= link_to_user(story.assigned_to) %>
|
|
<% else %>
|
|
<em><%= l('backlogs.unassigned') %></em>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</td>
|
|
<td class="add_new">+</td>
|
|
<% @statuses.each do |status| %>
|
|
<td class="swimlane list <%= status.is_closed? ? 'closed' : '' %>" id="<%= story.id %>_<%= status.id %>">
|
|
<% task_html = render :partial => "rb_tasks/task",
|
|
:collection => story.tasks.select { |task| task.status.id == status.id } %>
|
|
<%= task_html.present? ? task_html : raw(" ") %>
|
|
</td>
|
|
<% end %>
|
|
</tr>
|
|
<% end %>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="helpers">
|
|
<select class="assigned_to_id template" id="assigned_to_id_options">
|
|
<option value=""> </option>
|
|
<% @project.assignable_users.each do |user| %>
|
|
<option value="<%= user.id %>" color="<%= user.backlogs_preference(:task_color) %>">
|
|
<%= user.name %>
|
|
</option>
|
|
<% end %>
|
|
</select>
|
|
<div id="task_template">
|
|
<%= render :partial => "rb_tasks/task", :object => Task.new %>
|
|
</div>
|
|
<div id="impediment_template">
|
|
<%= render :partial => "rb_impediments/impediment", :object => Impediment.new %>
|
|
</div>
|
|
|
|
<div id="issue_editor"> </div>
|
|
<div class="meta" id="last_updated"><%= date_string_with_milliseconds( (@last_updated.blank? ? Time.now : @last_updated.updated_on) ) %></div>
|
|
<div id="charts"> </div>
|
|
<div id="preloader">
|
|
<div id="spinner"> </div>
|
|
<div id="warning"> </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|