summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-16 08:53:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-16 08:53:39 +0000
commit1508cd7b8bf9dbc8ef22b6febd1047455c3c72cd (patch)
tree88daaa947aab2dceb7d6c64223b445f3bc7450bb /app/helpers
parent67835aa74d0412d538bee97d975564a8fec5b2c4 (diff)
downloadredmine-1508cd7b8bf9dbc8ef22b6febd1047455c3c72cd.tar.gz
redmine-1508cd7b8bf9dbc8ef22b6febd1047455c3c72cd.zip
Moved new group user to its own action GroupsController#new_users.
git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/groups_helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index 315be99fc..4275f29a0 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -32,7 +32,10 @@ module GroupsHelper
principal_pages = Redmine::Pagination::Paginator.new principal_count, 100, params['page']
principals = scope.offset(principal_pages.offset).limit(principal_pages.per_page).to_a
- s = content_tag('div', principals_check_box_tags('user_ids[]', principals), :id => 'principals')
+ s = content_tag('div',
+ content_tag('div', principals_check_box_tags('user_ids[]', principals), :id => 'principals'),
+ :class => 'objects-selection'
+ )
links = pagination_links_full(principal_pages, principal_count, :per_page_links => false) {|text, parameters, options|
link_to text, autocomplete_for_user_group_path(group, parameters.merge(:q => params[:q], :format => 'js')), :remote => true