Files
galaxy/templates/message.mako
T
James Taylor 958770640d Fixes to tool parameter error handling in workflows. Workflows are now
ordered by update_time desc in index pages. The menu frame refreshes
properly on changing the workflow menu.
2008-07-21 21:15:10 -04:00

33 lines
1.0 KiB
Mako

<%inherit file="/base.mako"/>
<%def name="javascripts()">
${parent.javascripts()}
<script type="text/javascript">
%if 'masthead' in refresh_frames:
if ( parent.frames && parent.frames.galaxy_masthead ) {
parent.frames.galaxy_masthead.location.href="${h.url_for( controller='root', action='masthead')}";
}
else if ( parent.parent && parent.parent.frames && parent.parent.frames.galaxy_masthead ) {
parent.parent.frames.galaxy_masthead.location.href="${h.url_for( controller='root', action='masthead')}";
}
%endif
%if 'history' in refresh_frames:
if ( parent.frames && parent.frames.galaxy_history ) {
parent.frames.galaxy_history.location.href="${h.url_for( controller='root', action='history')}";
}
%endif
%if 'tools' in refresh_frames:
if ( parent.frames && parent.frames.galaxy_tools ) {
parent.frames.galaxy_tools.location.href="${h.url_for( controller='root', action='tool_menu')}";
}
%endif
if ( parent.handle_minwidth_hint )
{
parent.handle_minwidth_hint( -1 );
}
</script>
</%def>
<div class="${message_type}message">${message}</div>