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.
70 lines
3.6 KiB
70 lines
3.6 KiB
<%#-- copyright
|
|
OpenProject is an open source project management software.
|
|
Copyright (C) 2012-2020 the OpenProject GmbH
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License version 3.
|
|
|
|
OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
|
|
Copyright (C) 2006-2017 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.
|
|
|
|
See docs/COPYRIGHT.rdoc for more details.
|
|
|
|
++#%>
|
|
|
|
<fieldset class="form--fieldset">
|
|
<legend class="form--fieldset-legend"><%= l(:button_copy) %></legend>
|
|
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "queries", checked: true, label: l(:label_query_plural),
|
|
count: project.queries.count } %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "forums", checked: false, label: l(:label_forum_plural),
|
|
count: project.forums.count } %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "members", checked: true, label: l(:label_member_plural),
|
|
count: project.members.count } %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "versions", checked: true, label: l(:label_version_plural),
|
|
count: project.versions.count } %>
|
|
<% if project.wiki.present? %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "wiki", checked: true, label: l(:label_wiki_page_plural),
|
|
count: project.wiki.nil? ? 0 : project.wiki.pages.count } %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "wiki_page_attachments", checked: false, label: l(:label_wiki_page_attachments),
|
|
count: project.wiki.pages.joins(:attachments).count('attachments.id') } %>
|
|
<% end %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "work_packages", checked: true, label: l(:label_work_package_plural),
|
|
count: project.work_packages.count } %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "work_package_attachments", checked: true, label: l(:label_work_package_attachments),
|
|
count: project.work_packages.joins(:attachments).count('attachments.id') } %>
|
|
<%= render partial: "copy_projects/copy_settings/block_checkbox",
|
|
locals: { name: "categories", checked: true,
|
|
label: l(:label_work_package_category_plural),
|
|
count: project.categories.count } %>
|
|
<%= hidden_field_tag 'only[]', '' %>
|
|
|
|
<br />
|
|
<label class="block">
|
|
<%= check_box_tag 'notifications', 1, params[:notifications] %>
|
|
<%= l(:label_project_copy_notifications) %>
|
|
</label>
|
|
</fieldset>
|
|
|