diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-06 14:22:22 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-01-06 14:22:22 +0000 |
commit | 94391723c0c8ec5a0d0141730dca89f0bfabfd32 (patch) | |
tree | a49d4d3464dcebe573f2d3ab90d96e53586b96bf /app/views/users | |
parent | 5fd3decb164bd946d01c764c7151d29831362edf (diff) | |
download | redmine-94391723c0c8ec5a0d0141730dca89f0bfabfd32.tar.gz redmine-94391723c0c8ec5a0d0141730dca89f0bfabfd32.zip |
added a button on users/list to manually activate an account
git-svn-id: http://redmine.rubyforge.org/svn/trunk@155 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/list.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/users/list.rhtml b/app/views/users/list.rhtml index 610234625..5eafda62e 100644 --- a/app/views/users/list.rhtml +++ b/app/views/users/list.rhtml @@ -32,6 +32,9 @@ <% if user.locked? %>
<%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %>
<%= submit_tag l(:button_unlock), :class => "button-small" %>
+ <% elsif user.registered? %> + <%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %> + <%= submit_tag l(:button_activate), :class => "button-small" %> <% else %>
<%= hidden_field_tag 'user[status]', User::STATUS_LOCKED %>
<%= submit_tag l(:button_lock), :class => "button-small" %>
|