1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/fb1c758d0eb9/ Changeset: fb1c758d0eb9 User: jmchilton Date: 2014-01-14 21:14:33 Summary: Fix workflow editor for changes in 5f6c670. Affected #: 1 file diff -r 22757ed4622ee1b975d966e9fe18ce6d83d2b909 -r fb1c758d0eb990f2ce59de422d1184647f051cc8 templates/webapps/galaxy/workflow/editor.mako --- a/templates/webapps/galaxy/workflow/editor.mako +++ b/templates/webapps/galaxy/workflow/editor.mako @@ -291,6 +291,8 @@ </%def><%def name="left_panel()"> + <% from galaxy.tools import Tool, ToolSection, ToolSectionLabel %> + <div class="unified-panel-header" unselectable="on"><div class='unified-panel-header-inner'> ${n_('Tools')} @@ -306,9 +308,9 @@ <div class="toolSectionList"> %for key, val in app.toolbox.tool_panel.items(): <div class="toolSectionWrapper"> - %if key.startswith( 'tool' ): + %if isinstance( val, Tool ): ${render_tool( val, False )} - %elif key.startswith( 'section' ) and val.elems: + %elif isinstance( val, ToolSection ) and val.elems: <% section = val %><div class="toolSectionTitle" id="title_${section.id}"><span>${section.name}</span> @@ -316,15 +318,15 @@ <div id="${section.id}" class="toolSectionBody"><div class="toolSectionBg"> %for section_key, section_val in section.elems.items(): - %if section_key.startswith( 'tool' ): + %if isinstance( section_val, Tool ): ${render_tool( section_val, True )} - %elif section_key.startswith( 'label' ): + %elif isinstance( section_val, ToolSectionLabel ): ${render_label( section_val )} %endif %endfor </div></div> - %elif key.startswith( 'label' ): + %elif isinstance( val, ToolSectionLabel ): ${render_label( val )} %endif </div> 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.