summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-06-25 09:48:20 +0000
committerGo MAEDA <maeda@farend.jp>2018-06-25 09:48:20 +0000
commit15d20a438c878d51809fa5508e9f7fb5c34269ec (patch)
tree93a69959b78d8e8380327e02112e38fe25183a18
parent03f12191d65d32cf112b026878685cb01005b2cd (diff)
downloadredmine-15d20a438c878d51809fa5508e9f7fb5c34269ec.tar.gz
redmine-15d20a438c878d51809fa5508e9f7fb5c34269ec.zip
Add check/unchek all icon in "Copy" section on copy_project page (#29080).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@17417 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/projects/copy.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erb
index ee725ebd9..f5524b965 100644
--- a/app/views/projects/copy.html.erb
+++ b/app/views/projects/copy.html.erb
@@ -3,7 +3,7 @@
<%= labelled_form_for @project, :url => { :action => "copy" } do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
-<fieldset class="box tabular"><legend><%= l(:button_copy) %></legend>
+<fieldset class="box tabular"><legend><%= toggle_checkboxes_link('.box input[type="checkbox"][name="only[]"]') %><%= l(:button_copy) %></legend>
<label class="block"><%= check_box_tag 'only[]', 'members', true, :id => nil %> <%= l(:label_member_plural) %> (<%= @source_project.members.count %>)</label>
<label class="block"><%= check_box_tag 'only[]', 'versions', true, :id => nil %> <%= l(:label_version_and_files, @source_project.versions.count) %></label>
<label class="block"><%= check_box_tag 'only[]', 'issue_categories', true, :id => nil %> <%= l(:label_issue_category_plural) %> (<%= @source_project.issue_categories.count %>)</label>