5c2aaf5c9e5cce3360e476917f7b8e09dc510b39
braney
  Fri May 26 10:51:05 2023 -0700
skip hub prefix on link to hgdownload for GTF files

diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index 43268ee..817972e 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -382,31 +382,31 @@
     hPrintf(" <OPTION VALUE=%s", ot->name);
     if (sameString(ot->name, outputType))
 	hPrintf(" SELECTED");
     if (sameString(ot->name, outBed) || sameString(ot->name, outWigBed))
         hPrintf(" id=\"outBed\"");
     hPrintf(">%s</OPTION>\n", ot->label);
     }
 hPrintf("</SELECT>\n");
 hPrintf(" ");
 
 hPrintf("<DIV style='display:none; opacity:0.9; border: 1px solid #EEE; margin: 2px; padding: 4px' id='gffNote'>"
         "<b>Note:</b> Table Browser GTF files contain transcripts, but no gene identifiers or symbols.<br> "
         "If you are looking for fully formatted "
         "gene model files for use in genome analysis pipelines,<br>check the "
         "<a href='https://hgdownload.soe.ucsc.edu/goldenPath/%s/bigZips/genes'>bigZips/genes</a> "
-        "directory on our download server.</DIV>", database);
+        "directory on our download server.</DIV>", trackHubSkipHubName(database));
 hPrintf("<DIV style='display:none; opacity:0.9; border: 1px solid #EEE; margin: 2px; padding: 4px' id='wigNote'>"
         "<b>Signal data points format:</b> The Table Browser outputs signal track data in "
         "<a href='../goldenPath/help/wiggle.html' target=_blank>wiggle</a> format by default. You can also use the "
         "Table Browser <b>filter</b> feature to designate a value threshold and then output that as BED format. The "
         "Table Browser will then create a BED file with an entry for every value that passes the filter. Our command line tool "
         "<a href=\"../goldenPath/help/bigWig.html#Extract\" target=_blank>bigWigToBedGraph</a> can also be used "
         "to convert wig files directly. Contact us at genome@soe.ucsc.edu for help with data extraction or conversion.</div>");
 hPrintf(" ");
 
 // we should make an hgTables.js one day, this is ugly
 jsInline("function checkOutputNotes(event) {\n"
     "var outType=document.getElementById('outputTypeDropdown').value;\n"
     "if (outType==='gff')\n"
     "    document.getElementById('gffNote').style.display='';\n"
     "else if (outType==='wigData')\n"