Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

Merge branch 'master' of https://git-sit.echo.nasa.gov/scm/worldview/worldview

Ryan Boller6f5af86b8d37
diff --cc src/js/Worldview/DataDownload/DownloadListPanel.js
index cc212e0ec,4c3254508..dcc0eec32
--- a/src/js/Worldview/DataDownload/DownloadListPanel.js
+++ b/src/js/Worldview/DataDownload/DownloadListPanel.js
@@@ -230,19 -242,27 +242,27 @@@ Worldview.DataDownload.DownloadListPane
};
var bodyText = function() {
- var bulk = "";
- if ( isBulkDownloadable() ) {
- bulk = "<div class='wget'>" +
- "<a class='wget' href='#'>Bulk Download (wget)</a>" +
- "</div>";
+ var elements =[];
+ if ( urs ) {
+ elements.push(NOTICE);
}
- var elements = [
- NOTICE,
- bulk,
- ];
$.each(selection, function(key, product) {
- elements.push(productText(product));
+ elements.push("\n<br/>\n" + productText(product));
});
+
+ if ( isBulkDownloadable() ) {
+ var bulk =
+ "<h4>Bulk Download</h4>" +
+ "<ul class='BulkDownload'>" +
+ "<li><a class='wget' href='#'>Link List:</a> " +
+ "For wget or download managers that accept a list of " +
+ "URLs</li>" +
+ "<li><a class='curl' href='#'>cURL Commands:</a> " +
+ "List of commands that can be copied and pasted to " +
+ "a terminal window to download using cURL.</li>" +
+ "</ul>";
+ elements.push(bulk);
+ }
var text = elements.join("\n<br/>\n") + "<br/>";
return text;
};