Project

General

Profile

Actions

Feature #29080

closed

Add check/uncheck all icon in "Copy" section on copy_project page

Added by Go MAEDA over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

In "Copy" section on copy_project page, which is used to select objects to copy, you cannot toggle all checkboxes at one click.

I think the section also should have a green tick icon to check/uncheck all checkboxes.


Related issues

Copied from Redmine - Feature #29053: Add check/unchek all icon in "Email notifications" section on "My account" pageClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA over 6 years ago

  • Copied from Feature #29053: Add check/unchek all icon in "Email notifications" section on "My account" page added
Actions #2

Updated by Mizuki ISHIKAWA over 6 years ago

I think that you can add icons with the following code.

diff --git a/app/views/projects/copy.html.erb b/app/views/projects/copy.html.erb
index ee725ebd97..f5524b9658 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>

Actions #3

Updated by Go MAEDA over 6 years ago

  • Target version set to 4.1.0

LGTM. Setting target version to 4.1.0.

Actions #4

Updated by Go MAEDA over 6 years ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Target version changed from 4.1.0 to 4.0.0
  • Resolution set to Fixed

Committed. Thank you for improving Redmine.

Actions #5

Updated by Marius BÄ‚LTEANU over 6 years ago

  • Subject changed from Add check/unchek all icon in "Copy" section on copy_project page to Add check/uncheck all icon in "Copy" section on copy_project page
Actions

Also available in: Atom PDF