0eb0a8a5c05b17c5dd5b1bc80791563cf8cdec89
tdreszer
Fri Aug 5 11:39:08 2011 -0700
Rearranged hgFileUi preamble as per Katrina and Vanessa.
diff --git src/hg/lib/fileUi.c src/hg/lib/fileUi.c
index 7d34e3f..a706677 100644
--- src/hg/lib/fileUi.c
+++ src/hg/lib/fileUi.c
@@ -459,42 +459,42 @@
// 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"
}
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 file contains the name and metadata for each download.\n",
+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 is a list of the md5sum output for each download.\n",
+printf("
md5sum.txt - lists 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",
+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 contains additional files provided by the laboratory related to these downloads.\n",
+ printf("
supplemental materials - any related files provided by the laboratory.\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;
char *nowrap = (sortOrder->setting != NULL ? " nowrap":""); // Sort order trackDb setting found so rely on
in titles for wrapping
printf("
"); |