diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-28 12:07:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-03-28 12:07:05 +0000 |
commit | 04e181b8b05d00a95d49aea0435f8542914b0fbc (patch) | |
tree | ebd9c00a13a4655b33df9a0d94bbae0272116954 /app/views/members | |
parent | b4be8849c0de81841c458c0f059787a9cc9bc022 (diff) | |
download | redmine-04e181b8b05d00a95d49aea0435f8542914b0fbc.tar.gz redmine-04e181b8b05d00a95d49aea0435f8542914b0fbc.zip |
Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2638 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/members')
-rw-r--r-- | app/views/members/autocomplete_for_member_login.rhtml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/members/autocomplete_for_member_login.rhtml b/app/views/members/autocomplete_for_member_login.rhtml new file mode 100644 index 000000000..09a08bf95 --- /dev/null +++ b/app/views/members/autocomplete_for_member_login.rhtml @@ -0,0 +1,5 @@ +<ul> +<% @users.each do |user| -%> + <li><%= h user.login %><span class="informal"> (<%= h(user.name(:lastname_coma_firstname)) %>)</span></li> +<% end -%> +</ul> |