diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-03-16 18:20:08 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-03-16 18:20:08 +0000 |
commit | 899d410e0bfba47511dabe8413905bd489f7d960 (patch) | |
tree | eb893b76d1b623709aa2b849d2b188c52b7dc2fd /app/views | |
parent | 0786b9ef99b0797f06a72201b1581d7384efc624 (diff) | |
download | redmine-899d410e0bfba47511dabe8413905bd489f7d960.tar.gz redmine-899d410e0bfba47511dabe8413905bd489f7d960.zip |
Adds a Group filter on the admin users list (#7893).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5150 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/users/index.rhtml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/users/index.rhtml b/app/views/users/index.rhtml index 07308265e..79e50932d 100644 --- a/app/views/users/index.rhtml +++ b/app/views/users/index.rhtml @@ -8,6 +8,12 @@ <fieldset><legend><%= l(:label_filter_plural) %></legend> <label><%= l(:field_status) %>:</label> <%= select_tag 'status', users_status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %> + +<% if @groups.present? %> +<label><%= l(:label_group) %>:</label> +<%= select_tag 'group_id', '<option></option>' + options_from_collection_for_select(@groups, :id, :name, params[:group_id].to_i), :onchange => "this.form.submit(); return false;" %> +<% end %> + <label><%= l(:label_user) %>:</label> <%= text_field_tag 'name', params[:name], :size => 30 %> <%= submit_tag l(:button_apply), :class => "small", :name => nil %> |