OpenProject is the leading open source project management software.
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.
openproject/app/views/projects/settings/_backlogs_settings.erb

36 lines
983 B

<h2><%=l('backlogs.definition_of_done')%></h2>
<% statuses_done_for_project = @project.done_statuses.select(:id).map(&:id) %>
<%= form_tag(:controller => '/projects', :action => "project_done_statuses", :id => @project) do %>
<table class="list">
<thead>
<tr>
<th><%= Status.model_name.human %></th>
<th><%=l('backlogs.work_package_is_closed')%></th>
</tr>
</thead>
13 years ago
<tbody>
<% for status in @statuses %>
<tr class="<%= cycle("odd", "even") %>">
<td>
<%= status.name %>
</td>
<td align="center">
<%= (check_box_tag 'statuses[][status_id]', status.id.to_s, statuses_done_for_project.include?(status.id), :id => status.name) %>
</td>
</tr>
<% end %>
</tbody>
</table>
<p><%= submit_tag l(:button_save) %></p>
<% end %>
<h2><%=l('backlogs.rebuild_positions')%></h2>
<%= form_tag(:controller => '/projects', :action => "rebuild_positions", :id => @project) do %>
<p><%= submit_tag l('backlogs.rebuild') %></p>
<% end %>