diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-02 15:21:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-05-02 15:21:21 +0000 |
commit | 63951812a1ed56e61cd6e5ee8439c772f800521c (patch) | |
tree | 651df799afc4220f1be012d916cc844cab1d7232 /app/helpers/users_helper.rb | |
parent | 7a969dafacf06f9079a925f69b62dbad81c3aba4 (diff) | |
download | redmine-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.rb | 6 |
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 |