commit/galaxy-central: inithello: Fix tool configuration reload for changes in 5f6c670.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d0302907cbbf/ Changeset: d0302907cbbf User: inithello Date: 2014-01-15 14:54:33 Summary: Fix tool configuration reload for changes in 5f6c670. Affected #: 1 file diff -r 833d5e848479b04c0e90923b9dc4c168d78b4d7e -r d0302907cbbfbfbc8561bd3b2fe4a667161e67ff templates/admin/reload_tool.mako --- a/templates/admin/reload_tool.mako +++ b/templates/admin/reload_tool.mako @@ -1,5 +1,6 @@ <%inherit file="/base.mako"/><%namespace file="/message.mako" import="render_msg" /> +<% from galaxy.tools import Tool, ToolSection %><script type="text/javascript"> $().ready(function() { @@ -26,13 +27,13 @@ </label><select name="tool_id"> %for key, val in toolbox.tool_panel.items(): - %if key.startswith( 'tool' ): + %if isinstance( val, Tool ): <option value="${val.id}">${val.name}</option> - %elif key.startswith( 'section' ): + %elif isinstance( val, ToolSection ): <optgroup label="${val.name}"><% section = val %> %for section_key, section_val in section.elems.items(): - %if section_key.startswith( 'tool' ): + %if isinstance( section_val, Tool ): <% selected_str = "" %> %if section_val.id == tool_id: <% selected_str = " selected=\"selected\"" %> 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)
-
commits-noreply@bitbucket.org