define([],function(){return{help:function(a){var b=$("
").addClass("ui-form-help").append(a.help);return b.find("a").attr("target","_blank"),b},success:function(a){if(!a.jobs||!a.jobs.length)return this.error(a);var b=a.jobs.length,c="";c=1==b?"1 job has":b+" jobs have";var d='

'+c+" been successfully added to the queue - resulting in the following datasets:

";for(var e in a.outputs)d+='

'+a.outputs[e].hid+": "+a.outputs[e].name+"

";return d+="

You can check the status of queued jobs and view the resulting data by refreshing the History pane. When the job has been run the status will change from 'running' to 'finished' if completed successfully or 'error' if problems were encountered.

"},error:function(a){return'

The server could not complete the request. Please contact the Galaxy Team if this error persists.

"},requirements:function(a){var b="This tool requires ";for(var c in a.requirements){var d=a.requirements[c];b+=d.name,d.version&&(b+=" (Version "+d.version+")"),chere for more information.'}}}); //# sourceMappingURL=../../../maps/mvc/tool/tool-template.js.map