/templates/workflow/run_complete.mako

https://bitbucket.org/cistrome/cistrome-harvard/ · Mako · 30 lines · 28 code · 2 blank · 0 comment · 1 complexity · 0732ed7bacfe9a666a9905d7fa6d54cf MD5 · raw file

  1. <%inherit file="/base.mako"/>
  2. <div class="donemessagelarge">
  3. Successfully ran workflow "${workflow.name}". The following datasets have been added to the queue:
  4. %for invocation in invocations:
  5. <div class="workflow-invocation-complete">
  6. %if invocation['new_history']:
  7. <p>These datasets will appear in a new history:
  8. <a target='galaxy_history' href="${h.url_for( controller='history', action='list', operation="Switch", id=trans.security.encode_id(invocation['new_history'].id), use_panels=False, show_deleted=False )}">
  9. '${h.to_unicode(invocation['new_history'].name)}'.
  10. </a></p>
  11. %endif
  12. <div style="padding-left: 10px;">
  13. %for step_outputs in invocation['outputs'].itervalues():
  14. %for data in step_outputs.itervalues():
  15. %if not invocation['new_history'] or data.history == invocation['new_history']:
  16. <p><strong>${data.hid}</strong>: ${data.name}</p>
  17. %endif
  18. %endfor
  19. %endfor
  20. </div>
  21. </div>
  22. %endfor
  23. </div>
  24. <script type="text/javascript">
  25. if ( parent.frames && parent.frames.galaxy_history ) {
  26. parent.frames.galaxy_history.location.href="${h.url_for( controller='root', action='history' )}";
  27. }
  28. </script>