b7cad846c7fd6c30dd07a0b35804be89df66fdd2 tdreszer Fri Aug 5 14:37:49 2011 -0700 Added Note/Warning for preview browser (redmine 4844). diff --git src/hg/lib/fileUi.c src/hg/lib/fileUi.c index a706677..52ad31f 100644 --- src/hg/lib/fileUi.c +++ src/hg/lib/fileUi.c @@ -473,30 +473,36 @@ cgiDown(0.7); puts("Additional resources:"); printf("
• files.txt - lists the name and metadata for each download.\n", server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); printf("
• md5sum.txt - lists the md5sum output for each download.\n", server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); printf("
• downloads server - alternative access to downloadable files (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 - any related files provided by the laboratory.\n", server,db,ENCODE_DCC_DOWNLOADS, tdb->track, subDir); } +if (hIsPreviewHost()) + printf("
WARNING: This data is provided for early access via the Preview Browser -- it is unreviewed and subject to change. For high quality reviewed annotations, see the Genome Browser.", + "genome.ucsc.edu", db, tdb->track); +else + printf("
NOTE: Early access to additional track data may be available on the Preview Browser.", + "genome-preview.ucsc.edu", db, tdb->track); } 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; char *nowrap = (sortOrder->setting != NULL ? " nowrap":""); // Sort order trackDb setting found so rely on
in titles for wrapping printf("\n"); printf("\n"); printf("\n"); printf("
 "); int filesCount = slCount(fileList); if (filesCount > 5)