summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-11 21:02:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-08-11 21:02:36 +0000
commitd47400aa8d0a4a2b2f9aadb27694d7fc18fb9ac0 (patch)
tree00d9b9dd8881d7e0bf11769ec0555de2a2c61cbc
parent988f8d65fa3d7e7cb6bd17900ba21f05dfc021df (diff)
downloadredmine-d47400aa8d0a4a2b2f9aadb27694d7fc18fb9ac0.tar.gz
redmine-d47400aa8d0a4a2b2f9aadb27694d7fc18fb9ac0.zip
Adds Lock/Unlock/Activate link on user edit screen.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1734 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/users/edit.rhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/users/edit.rhtml b/app/views/users/edit.rhtml
index a4d0b2e5b..4714bcecb 100644
--- a/app/views/users/edit.rhtml
+++ b/app/views/users/edit.rhtml
@@ -1,3 +1,7 @@
+<div class="contextual">
+<%= change_status_link(@user) %>
+</div>
+
<h2><%=l(:label_user)%>: <%=h @user.login %></h2>
<% selected_tab = params[:tab] ? params[:tab].to_s : user_settings_tabs.first[:name] %>