Move Tools and Setup links under the user profile main menu entry

This commit is contained in:
Roberto Rosario
2015-05-21 02:34:32 -04:00
parent 6905cef006
commit 774a018912
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
from __future__ import unicode_literals
from navigation.api import register_top_menu
from navigation.api import register_links
from .links import link_setup
setup_link = register_top_menu('setup_menu', link=link_setup, position=-2)
register_links(['common:current_user_details', 'common:current_user_edit', 'common:current_user_locale_profile_details', 'common:current_user_locale_profile_edit', 'common:password_change_view'], [link_setup], menu_name='secondary_menu')
+2 -2
View File
@@ -1,7 +1,7 @@
from __future__ import unicode_literals
from navigation.api import register_top_menu
from navigation.api import register_links
from .links import link_tools
tool_link = register_top_menu('tools', link=link_tools, position=-3)
register_links(['common:current_user_details', 'common:current_user_edit', 'common:current_user_locale_profile_details', 'common:current_user_locale_profile_edit', 'common:password_change_view'], [link_tools], menu_name='secondary_menu')