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.
82 lines
3.3 KiB
82 lines
3.3 KiB
<% content_for :header_tags do %>
|
|
<%= javascript_include_tag 'show_main', 'board_updater', 'taskboard_updater', 'taskboard', 'issue', 'task', 'impediment', :plugin => 'redmine_backlogs' %>
|
|
<%= stylesheet_link_tag 'show', 'taskboard', :plugin => 'redmine_backlogs', :media => 'screen, print' %>
|
|
<script type="text/javascript" src="<%= url_for(:controller => 'server_variables', :action => 'index', :project_id => @project.id, :sprint_id => @sprint.id) %>"></script>
|
|
<% end %>
|
|
|
|
<% content_for :breadcrumbs do %>
|
|
<%= link_to @project.name, :controller => "backlogs", :action => "index", :project_id => @project %> : <%= @sprint.name %>
|
|
<% end %>
|
|
|
|
<%- content_for :page_specific_links do %>
|
|
<% if @sprint.has_burndown %>
|
|
<a id='show_charts'><%= l(:label_burndown) %></a>
|
|
<% end %>
|
|
<span id="col_width">Column width: <input name="col_width"/></span>
|
|
<a id="disable_autorefresh">Disable Auto-refresh</a>
|
|
<a id="refresh">Refresh</a>
|
|
<%- end %>
|
|
|
|
<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 %>">
|
|
<%= render :partial => "tasks/impediment", :collection => @sprint.impediments.select{|impediment| impediment.status_id==status.id} %>
|
|
</td>
|
|
<%- end %>
|
|
</tr>
|
|
</table>
|
|
|
|
<table id="tasks" class="board" cellspacing="0">
|
|
<%- @sprint.stories.each do |story| %>
|
|
<tr>
|
|
<td>
|
|
<div class="story <%= mark_if_closed(story) %>">
|
|
<div class="id"><%= link_to story.id, {:controller => 'issues', :action => 'show', :id => story.id}, { :target => "_blank" } %></div>
|
|
<div class="subject"><%= story.subject %></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 %>">
|
|
<%= render :partial => "tasks/task", :collection => story.children.select{|task| task.status.id==status.id} %>
|
|
</td>
|
|
<%- end %>
|
|
</tr>
|
|
<%- end %>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- templates -->
|
|
<select class="assigned_to_id template" id="assigned_to_id_options">
|
|
<option value=""> </option>
|
|
<%- @project.members.each do |member| %>
|
|
<option value="<%= member.user_id %>" color="<%= member.user.backlogs_preference(:task_color) %>"><%= member.name %></option>
|
|
<%- end %>
|
|
</select>
|
|
<div id="task_template">
|
|
<%= render :partial => "tasks/task", :object => Task.new %>
|
|
</div>
|
|
<div id="impediment_template">
|
|
<%= render :partial => "tasks/impediment", :object => Task.new %>
|
|
</div>
|
|
<!-- end of templates -->
|
|
<div id="issue_editor"> </div>
|
|
<div class="meta" id="last_updated"><%= date_string_with_milliseconds( (@last_updated.nil? ? Time.now : @last_updated.updated_on) ) %></div>
|
|
<div id="charts"> </div>
|
|
<div id="preloader">
|
|
<div id="spinner"> </div>
|
|
<div id="warning"> </div>
|
|
</div>
|
|
|