Fix workflow editor for changes in 5f6c670.

This commit is contained in:
John Chilton
2014-01-14 14:14:33 -06:00
parent d58e6e50cf
commit b993b1f48d
@@ -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>