<%#-- copyright OpenProject is a project management system. Copyright (C) 2012-2015 the OpenProject Foundation (OPF) 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-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. See doc/COPYRIGHT.rdoc for more details. ++#%>
<%= l(:button_copy) %> <%= 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: "boards", checked: false, label: l(:label_board_plural), count: project.boards.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: "project_associations", checked: true, label: l(:'timelines.project_menu.project_associations'), count: project.project_associations.count } %> <%= render partial: "copy_projects/copy_settings/block_checkbox", locals: { name: "timelines", checked: true, label: l(:'timelines.timelines'), count: project.timelines.count } %> <%= render partial: "copy_projects/copy_settings/block_checkbox", locals: { name: "reportings", checked: true, label: l(:label_reporting_plural), count: project.reportings.count } %> <%= render partial: "copy_projects/copy_settings/block_checkbox", locals: { name: "versions", checked: true, label: l(:label_version_plural), count: project.versions.count } %> <%= 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: "work_packages", checked: false, label: l(:label_work_package_plural), count: project.work_packages.count } %> <%= 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[]', '' %>