commit/galaxy-central: jgoecks: Show tool search by default. Fixes #575
1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/381908d91275/ changeset: 381908d91275 user: jgoecks date: 2011-06-15 19:42:39 summary: Show tool search by default. Fixes #575 affected #: 2 files (2 bytes) --- a/templates/root/index.mako Wed Jun 15 13:22:18 2011 -0400 +++ b/templates/root/index.mako Wed Jun 15 13:42:39 2011 -0400 @@ -144,11 +144,11 @@ ## Search tools menu item. %if trans.app.toolbox_search.enabled: <% - show_tool_search = False + show_tool_search = True if trans.user: - show_tool_search = trans.user.preferences.get( "show_tool_search", "False" ) + show_tool_search = trans.user.preferences.get( "show_tool_search", "False" ) == "True" - if show_tool_search == "True": + if show_tool_search: action = "HIDE_TOOL" else: action = "SHOW_TOOL" --- a/templates/root/tool_menu.mako Wed Jun 15 13:22:18 2011 -0400 +++ b/templates/root/tool_menu.mako Wed Jun 15 13:42:39 2011 -0400 @@ -312,11 +312,11 @@ ## Tool search. <% - show_tool_search = False + show_tool_search = True if trans.user: - show_tool_search = trans.user.preferences.get( "show_tool_search", "False" ) + show_tool_search = trans.user.preferences.get( "show_tool_search", "False" ) == "True" - if show_tool_search == "True": + if show_tool_search: display = "block" else: display = "none" Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket