1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/f7983ecf5ea7/ Changeset: f7983ecf5ea7 User: dan Date: 2014-04-15 20:01:21 Summary: Provide run and edit links for workflows after extraction from history. Affected #: 1 file diff -r 3a154b52090316dee61f42993eaa5a1fa40116d3 -r f7983ecf5ea7c15e5c4235f079e86943576fbdba lib/galaxy/webapps/galaxy/controllers/workflow.py --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -1201,7 +1201,7 @@ history=history ) else: - extract_workflow( + stored_workflow = extract_workflow( trans, user=user, job_ids=job_ids, @@ -1209,9 +1209,10 @@ workflow_name=workflow_name ) # Index page with message - return trans.show_message( "Workflow '%s' created from current history." % workflow_name ) - ## return trans.show_ok_message( "<p>Workflow '%s' created.</p><p><a target='_top' href='%s'>Click to load in workflow editor</a></p>" - ## % ( workflow_name, web.url_for(controller='workflow', action='editor', id=trans.security.encode_id(stored.id) ) ) ) + workflow_id = trans.security.encode_id( stored_workflow.id ) + return trans.show_message( 'Workflow "%s" created from current history. You can <a href="%s" target="_parent">edit</a> or <a href="%s">run</a> the workflow.' % + ( workflow_name, url_for( controller='workflow', action='editor', id=workflow_id ), + url_for( controller='workflow', action='run', id=workflow_id ) ) ) @web.expose def run( self, trans, id, history_id=None, multiple_input_mode="product", hide_fixed_params=False, **kwargs ): 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.