cec653ec536e9a536256b3ebddc39be5ef9701c8 max Sun Sep 21 23:37:18 2025 -0700 adding spliceAi wt track, refs #35100 diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 6edf6a7d6ad..f42b20dba82 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -164,34 +164,39 @@ } } boolean makeSchemaLink(char *db,struct trackDb *tdb,char *label) // Make a table schema link (if appropriate and then returns TRUE) { #define SCHEMA_LINKED "%s" if (trackDataAccessible(db, tdb) && differentString("longTabix", tdb->type)) // FIXME: hgTables.showSchmaLongTabix is a currently a dummy routine, so let's not got here // until it's implemented { char *tbOff = trackDbSetting(tdb, "tableBrowser"); if (isNotEmpty(tbOff) && sameString(nextWord(&tbOff), "off")) + { + puts("(Download unavailable, see below)"); return FALSE; + } + char *hint = " title='Open data format (table schema) in new window'"; if (label == NULL) label = " View data format"; + struct trackDb *topLevel = trackDbTopLevelSelfOrParent(tdb); printf(SCHEMA_LINKED, db, topLevel->grp, topLevel->track, tdb->table, hint, label); return TRUE; } return FALSE; } char *wgEncodeVocabLink(char *term,char *value,char *title, char *label,char *suffix) // returns allocated string of HTML link to controlled vocabulary term { #define VOCAB_LINK "%s" struct dyString *dyLink = NULL; char *encTerm = cgiEncode(term); char *encValue = cgiEncode(value);