summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-09-01 17:10:11 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-09-01 17:10:11 +0000
commit6d81d32ef712990d433a06ca9a9c4d59dba27147 (patch)
treed9ec845786c8562c1692302a9cd2aaf4df717b47
parent1324772355e4212a3e1939cf9a933d3f5aea1ab3 (diff)
downloadredmine-6d81d32ef712990d433a06ca9a9c4d59dba27147.tar.gz
redmine-6d81d32ef712990d433a06ca9a9c4d59dba27147.zip
Display groups on multiple columns.
git-svn-id: http://svn.redmine.org/redmine/trunk@15803 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/users/_groups.html.erb2
-rw-r--r--public/stylesheets/application.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/_groups.html.erb b/app/views/users/_groups.html.erb
index 204bd9d00..dde2d210f 100644
--- a/app/views/users/_groups.html.erb
+++ b/app/views/users/_groups.html.erb
@@ -1,5 +1,5 @@
<%= form_for(:user, :url => { :action => 'update' }, :html => {:method => :put}) do %>
-<div class="box">
+<div class="box" id="user_group_ids">
<% Group.givable.sort.each do |group| %>
<label><%= check_box_tag 'user[group_ids][]', group.id, @user.groups.to_a.include?(group), :id => nil %> <%= group %></label><br />
<% end %>
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 6786cb950..1f47dd42d 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -748,7 +748,7 @@ input.autocomplete.ajax-loading {
display: block;
}
-.objects-selection>div {
+.objects-selection>div, #user_group_ids {
column-count: auto;
column-width: 200px;
-webkit-column-count: auto;