From 63951812a1ed56e61cd6e5ee8439c772f800521c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 2 May 2008 15:21:21 +0000 Subject: Split user edit screen into tabs. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1404 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/users_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/helpers/users_helper.rb') 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 -- cgit v1.2.3