diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-18 17:08:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-10-18 17:08:42 +0000 |
commit | 7729178d9d50c6854e4602f4955f9e7f0598001c (patch) | |
tree | ef407662e58d5a99e9cf5d345269922dd0e2c550 /app/views/users | |
parent | 50037b18c49267229048c9b8126708a30626bde7 (diff) | |
download | redmine-7729178d9d50c6854e4602f4955f9e7f0598001c.tar.gz redmine-7729178d9d50c6854e4602f4955f9e7f0598001c.zip |
Adds links to locked users when current user is admin.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10673 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/index.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index f88b5231e..4f77a6493 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -36,7 +36,7 @@ </tr></thead> <tbody> <% for user in @users -%> - <tr class="user <%= cycle("odd", "even") %> <%= %w(anon active registered locked)[user.status] %>"> + <tr class="<%= user.css_classes %> <%= cycle("odd", "even") %>"> <td class="username"><%= avatar(user, :size => "14") %><%= link_to h(user.login), edit_user_path(user) %></td> <td class="firstname"><%= h(user.firstname) %></td> <td class="lastname"><%= h(user.lastname) %></td> |