@@ -44,7 +44,7 module UsersHelper | |||
|
44 | 44 | link_to l(:button_unlock), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :post, :class => 'icon icon-unlock' |
|
45 | 45 | elsif user.registered? |
|
46 | 46 | link_to l(:button_activate), url.merge(:user => {:status => User::STATUS_ACTIVE}), :method => :post, :class => 'icon icon-unlock' |
|
47 | else | |
|
47 | elsif user != User.current | |
|
48 | 48 | link_to l(:button_lock), url.merge(:user => {:status => User::STATUS_LOCKED}), :method => :post, :class => 'icon icon-lock' |
|
49 | 49 | end |
|
50 | 50 | end |
General Comments 0
You need to be logged in to leave comments.
Login now