f74d5e20a5df0b58ca3ae9980d96658598165c65 tdreszer Tue Aug 2 16:29:07 2011 -0700 Converted 'parent dir' link to 'raw files view' link to the downloads dir. diff --git src/hg/lib/fileUi.c src/hg/lib/fileUi.c index 65f2e33..7d34e3f 100644 --- src/hg/lib/fileUi.c +++ src/hg/lib/fileUi.c @@ -454,42 +454,42 @@ return count; } static void filesDownloadsPreamble(char *db, struct trackDb *tdb) // Replacement for preamble.html which should expose parent dir, files.txt and supplemental, but // not have any specialized notes per composite. Specialized notes belong in track description. { char *server = hDownloadsServer(); char *subDir = ""; if (hIsBetaHost()) { server = "hgdownload-test.cse.ucsc.edu"; // NOTE: Force this case because beta may think subDir = "/beta"; // it's downloads server is "hgdownload.cse.ucsc.edu" } -printf("
Parent directory for %s downloads.
\n", - server,db,ENCODE_DCC_DOWNLOADS,db); cgiDown(0.9); puts("Data is RESTRICTED FROM USE"); puts("in publication until the restriction date noted for the given data file."); cgiDown(0.7); puts("Supporting documents:"); -printf("
• files.txt is a tab-separated file with the name and metadata for each download.\n", +printf("
• files.txt file contains the name and metadata for each download.\n", server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); printf("
• md5sum.txt is a list of the md5sum output for each download.\n", server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); +printf("
• raw files view web server downloads directory (may include obsolete data).\n", + server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); struct fileDb *oneFile = fileDbGet(db, ENCODE_DCC_DOWNLOADS, tdb->track, "supplemental"); if (oneFile != NULL) { printf("
• Supplemental materials contains additional files provided by the laboratory related to these downloads.\n", server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); } } static int filesPrintTable(char *db, struct trackDb *parentTdb, struct fileDb *fileList, sortOrder_t *sortOrder,boolean filterable) // Prints filesList as a sortable table. Returns count { // Table class=sortable int columnCount = 0; int restrictedColumn = 0;