Skip to content

Commit

Permalink
Remove output details from success message
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jun 1, 2016
1 parent 52a5f6e commit dcd0722
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
19 changes: 2 additions & 17 deletions client/galaxy/scripts/mvc/tool/tool-form-composite.js
Original file line number Diff line number Diff line change
Expand Up @@ -446,23 +446,8 @@ define([ 'utils/utils', 'utils/deferred', 'mvc/ui/ui-misc', 'mvc/form/form-view'
/** Templates */
_templateSuccess: function( response ) {
if ( response && response.length > 0 ) {
var $message = $( '<div/>' ).addClass( 'donemessagelarge' )
.append( $( '<p/>' ).text( 'Successfully ran workflow \'' + this.model.get( 'name' ) + '\'. The following datasets have been added to the queue:' ) );
for ( var i in response ) {
var invocation = response[ i ];
var $invocation = $( '<div/>' ).addClass( 'workflow-invocation-complete' );
invocation.history && $invocation.append( $( '<p/>' ).text( 'These datasets will appear in a new history: ' )
.append( $( '<a/>' ).addClass( 'new-history-link' )
.attr( 'data-history-id', invocation.history.id )
.attr( 'target', '_top' )
.attr( 'href', '/history/switch_to_history?hist_id=' + invocation.history.id )
.text( invocation.history.name ) ) );
_.each( invocation.outputs, function( output ) {
$invocation.append( $( '<div/>' ).addClass( 'messagerow' ).html( '<b>' + output.hid + '</b>: ' + output.name ) );
});
$message.append( $invocation );
}
return $message;
return $( '<div/>' ).addClass( 'donemessagelarge' )
.append( $( '<p/>' ).text( 'The requested workflows have been queued and datasets will appear as jobs are created - you will need to refresh your history panel to see these.' ) );
} else {
return this._templateError( response );
}
Expand Down

0 comments on commit dcd0722

Please sign in to comment.