summaryrefslogtreecommitdiffstats
path: root/app/helpers/users_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-02 15:21:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-05-02 15:21:21 +0000
commit63951812a1ed56e61cd6e5ee8439c772f800521c (patch)
tree651df799afc4220f1be012d916cc844cab1d7232 /app/helpers/users_helper.rb
parent7a969dafacf06f9079a925f69b62dbad81c3aba4 (diff)
downloadredmine-63951812a1ed56e61cd6e5ee8439c772f800521c.tar.gz
redmine-63951812a1ed56e61cd6e5ee8439c772f800521c.zip
Split user edit screen into tabs.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1404 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/users_helper.rb')
-rw-r--r--app/helpers/users_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index 0fe1755eb..6976d021b 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -48,4 +48,10 @@ module UsersHelper
link_to l(:button_lock), url.merge(:user => {:status => User::STATUS_LOCKED}), :method => :post, :class => 'icon icon-lock'
end
end
+
+ def user_settings_tabs
+ tabs = [{:name => 'general', :partial => 'users/general', :label => :label_general},
+ {:name => 'memberships', :partial => 'users/memberships', :label => :label_project_plural}
+ ]
+ end
end