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.
72 lines
2.8 KiB
72 lines
2.8 KiB
12 years ago
|
<%#-- copyright
|
||
|
OpenProject is a project management system.
|
||
11 years ago
|
Copyright (C) 2012-2013 the OpenProject Foundation (OPF)
|
||
12 years ago
|
|
||
|
This program is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU General Public License version 3.
|
||
|
|
||
11 years ago
|
OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
||
|
Copyright (C) 2006-2013 Jean-Philippe Lang
|
||
|
Copyright (C) 2010-2013 the ChiliProject Team
|
||
|
|
||
|
This program is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU General Public License
|
||
|
as published by the Free Software Foundation; either version 2
|
||
|
of the License, or (at your option) any later version.
|
||
|
|
||
|
This program is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
GNU General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU General Public License
|
||
|
along with this program; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
12 years ago
|
See doc/COPYRIGHT.rdoc for more details.
|
||
|
|
||
|
++#%>
|
||
|
|
||
18 years ago
|
<div class="contextual">
|
||
11 years ago
|
<%= link_to l(:label_work_package_status_new), {:action => 'new'}, :class => 'icon icon-add' %>
|
||
11 years ago
|
<%= link_to(l(:label_update_work_package_done_ratios), {:action => 'update_work_package_done_ratio'}, :class => 'icon icon-multiple', :method => 'post', :confirm => l(:text_are_you_sure)) if WorkPackage.use_status_for_done_ratio? %>
|
||
18 years ago
|
</div>
|
||
|
|
||
11 years ago
|
<h2><%=l(:label_work_package_status_plural)%></h2>
|
||
14 years ago
|
|
||
18 years ago
|
<table class="list">
|
||
|
<thead><tr>
|
||
11 years ago
|
<th><%= Status.model_name.human %></th>
|
||
11 years ago
|
<% if WorkPackage.use_status_for_done_ratio? %>
|
||
|
<th><%= WorkPackage.human_attribute_name(:done_ratio) %></th>
|
||
15 years ago
|
<% end %>
|
||
11 years ago
|
<th><%= Status.human_attribute_name(:is_default) %></th>
|
||
|
<th><%= Status.human_attribute_name(:is_closed) %></th>
|
||
18 years ago
|
<th><%=l(:button_sort)%></th>
|
||
19 years ago
|
<th></th>
|
||
18 years ago
|
</tr></thead>
|
||
14 years ago
|
<tbody>
|
||
11 years ago
|
<% for status in @statuses %>
|
||
19 years ago
|
<tr class="<%= cycle("odd", "even") %>">
|
||
14 years ago
|
<td><%= link_to h(status.name), :action => 'edit', :id => status %></td>
|
||
11 years ago
|
<% if WorkPackage.use_status_for_done_ratio? %>
|
||
15 years ago
|
<td align="center"><%= h status.default_done_ratio %></td>
|
||
|
<% end %>
|
||
15 years ago
|
<td align="center"><%= checked_image status.is_default? %></td>
|
||
|
<td align="center"><%= checked_image status.is_closed? %></td>
|
||
11 years ago
|
<td align="center" style="width:15%;"><%= reorder_links('status', {:action => 'update', :id => status}) %></td>
|
||
15 years ago
|
<td class="buttons">
|
||
|
<%= link_to(l(:button_delete), { :action => 'destroy', :id => status },
|
||
12 years ago
|
:method => :post,
|
||
|
:confirm => l(:text_are_you_sure),
|
||
|
:class => 'icon icon-del') %>
|
||
19 years ago
|
</td>
|
||
|
</tr>
|
||
|
<% end %>
|
||
18 years ago
|
</tbody>
|
||
19 years ago
|
</table>
|
||
18 years ago
|
|
||
11 years ago
|
<%= pagination_links_full @statuses %>
|
||
17 years ago
|
|
||
11 years ago
|
<% html_title(l(:label_work_package_status_plural)) -%>
|