summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-18 20:44:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-03-18 20:44:33 +0000
commit8bb60b64747647fd17073ed11b60cfd1d7624919 (patch)
tree87bcec1518f3bafc7100e935a5a3217a74b996f9 /app/views
parent143be7ee029273ca882d3cfb807a9952eaab6539 (diff)
downloadredmine-8bb60b64747647fd17073ed11b60cfd1d7624919.tar.gz
redmine-8bb60b64747647fd17073ed11b60cfd1d7624919.zip
added a status filter on users/list
git-svn-id: http://redmine.rubyforge.org/svn/trunk@347 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/users/list.rhtml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/users/list.rhtml b/app/views/users/list.rhtml
index 87d42391c..5d6e26d37 100644
--- a/app/views/users/list.rhtml
+++ b/app/views/users/list.rhtml
@@ -4,6 +4,15 @@
<h2><%=l(:label_user_plural)%></h2>
+<% form_tag() do %>
+<fieldset><legend><%= l(:label_filter_plural) %></legend>
+<label><%= l(:field_status) %> :</label>
+<%= select_tag 'status', status_options_for_select(@status), :class => "small", :onchange => "this.form.submit(); return false;" %>
+<%= submit_tag l(:button_apply), :class => "small" %>
+</fieldset>
+<% end %>
+&nbsp;
+
<table class="list">
<thead><tr>
<%= sort_header_tag('login', :caption => l(:field_login)) %>