details: http://www.bx.psu.edu/hg/galaxy/rev/1e1b79c52d07 changeset: 3139:1e1b79c52d07 user: Nate Coraor <nate@bx.psu.edu> date: Wed Dec 02 10:58:42 2009 -0500 description: Fix static_enabled config option and a bad image path in the index template diffstat: lib/galaxy/web/buildapp.py | 2 +- templates/root/index.mako | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diff -r 661ed3a56a4d -r 1e1b79c52d07 lib/galaxy/web/buildapp.py --- a/lib/galaxy/web/buildapp.py Wed Dec 02 10:07:21 2009 -0500 +++ b/lib/galaxy/web/buildapp.py Wed Dec 02 10:58:42 2009 -0500 @@ -84,7 +84,7 @@ # Wrap the webapp in some useful middleware if kwargs.get( 'middleware', True ): webapp = wrap_in_middleware( webapp, global_conf, **kwargs ) - if kwargs.get( 'static_enabled', True ): + if asbool( kwargs.get( 'static_enabled', True ) ): webapp = wrap_in_static( webapp, global_conf, **kwargs ) # Close any pooled database connections before forking try: diff -r 661ed3a56a4d -r 1e1b79c52d07 templates/root/index.mako --- a/templates/root/index.mako Wed Dec 02 10:07:21 2009 -0500 +++ b/templates/root/index.mako Wed Dec 02 10:58:42 2009 -0500 @@ -102,7 +102,7 @@ <div class="unified-panel-header" unselectable="on"> <div class="unified-panel-header-inner"> <div style="float: right"> - <a id="history-options-button" class='panel-header-button' href="${h.url_for( controller='root', action='history_options' )}" target="galaxy_main"><span style="padding:0 20px 0 5px;background:url(${h.url_for( '/images/dropdownarrow.png')}) no-repeat right center;">${_('Options')}</span></a> + <a id="history-options-button" class='panel-header-button' href="${h.url_for( controller='root', action='history_options' )}" target="galaxy_main"><span style="padding:0 20px 0 5px;background:url(${h.url_for( '/static/images/dropdownarrow.png')}) no-repeat right center;">${_('Options')}</span></a> </div> <div class="panel-header-text">${_('History')}</div> </div>