galaxy-dist commit 5f87abcf4854: fix for the menu item bug intriduced in changeset 4223:03d06d05bf62
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User rc # Date 1283357789 14400 # Node ID 5f87abcf4854c6e5603a5b937865d3e8bdc9190d # Parent 37cbea4bf8c7995eea2b202fe3fcfbc72d0307a7 fix for the menu item bug intriduced in changeset 4223:03d06d05bf62 now the Lab menu appears correctly for sample tracking users --- a/templates/webapps/galaxy/base_panels.mako +++ b/templates/webapps/galaxy/base_panels.mako @@ -74,18 +74,20 @@ ## Lab menu. %if trans.user and trans.user.accessible_request_types(trans): - menu_options = [ - [ 'Sequencing Requests', h.url_for( controller='/requests', action='index' ) ], - [ 'Find Samples', h.url_for( controller='/requests_common', action='find' ) ], - [ 'Help', app.config.get( "lims_doc_url", "http://main.g2.bx.psu.edu/u/rkchak/p/sts" )}, "galaxy_main" ], - ] - tab( "lab", "Lab", None, menu_options=menu_options ) + <% + menu_options = [ + [ 'Sequencing Requests', h.url_for( controller='/requests', action='index' ) ], + [ 'Find Samples', h.url_for( controller='/requests_common', action='find' ) ], + [ 'Help', app.config.get( "lims_doc_url", "http://main.g2.bx.psu.edu/u/rkchak/p/sts" ), "galaxy_main" ] + ] + tab( "lab", "Lab", None, menu_options=menu_options ) + %> %endif ## Visualization menu. %if app.config.get_bool( 'enable_tracks', False ): <% - menu_options = [ + menu_options = [ ['New Track Browser', h.url_for( controller='/tracks', action='index' ) ], ['Saved Visualizations', h.url_for( controller='/visualization', action='list' ) ] ]
participants (1)
-
commits-noreply@bitbucket.org