From 2290fe1e85c180dd49ffd96fb26846547333b853 Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Mon, 11 Oct 2010 17:07:59 -0400 Subject: [PATCH] Re-fix issue from 384c809db93e: show items in user menu when user is remote. Contributed by JJ and Ry4an Brase. --- templates/webapps/galaxy/base_panels.mako | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/webapps/galaxy/base_panels.mako b/templates/webapps/galaxy/base_panels.mako index 16f5377cea9..0a422f1d912 100644 --- a/templates/webapps/galaxy/base_panels.mako +++ b/templates/webapps/galaxy/base_panels.mako @@ -141,12 +141,12 @@ logout_url = h.url_for( controller='/user', action='logout' ) menu_options.append( [ 'Logout', logout_url, "_top" ] ) menu_options.append( None ) - menu_options.append( [ 'Saved Histories', h.url_for( controller='/history', action='list' ), "galaxy_main" ] ) - menu_options.append( [ 'Saved Datasets', h.url_for( controller='/dataset', action='list' ), "galaxy_main" ] ) - if app.config.get_bool( 'enable_pages', False ): - menu_options.append( [ 'Saved Pages', h.url_for( controller='/page', action='list' ), "_top" ] ) - if app.config.enable_api: - menu_options.append( [ 'API Keys', h.url_for( controller='/user', action='api_keys' ), "galaxy_main" ] ) + menu_options.append( [ 'Saved Histories', h.url_for( controller='/history', action='list' ), "galaxy_main" ] ) + menu_options.append( [ 'Saved Datasets', h.url_for( controller='/dataset', action='list' ), "galaxy_main" ] ) + if app.config.get_bool( 'enable_pages', False ): + menu_options.append( [ 'Saved Pages', h.url_for( controller='/page', action='list' ), "_top" ] ) + if app.config.enable_api: + menu_options.append( [ 'API Keys', h.url_for( controller='/user', action='api_keys' ), "galaxy_main" ] ) extra_class = "loggedin-only" visible = ( trans.user != None )