628a3a8a4dd8529eb3ab160d67f934da6595ebdb hiram Wed Jun 12 14:26:58 2024 -0700 display the source version in the html page title refs #24430 diff --git src/hg/hubApi/hubApi.c src/hg/hubApi/hubApi.c index 9fe2422..6ab3d66 100644 --- src/hg/hubApi/hubApi.c +++ src/hg/hubApi/hubApi.c @@ -1,19 +1,20 @@ /* hubApi - access mechanism to hub data resources. */ #include "dataApi.h" #include "botDelay.h" #include "jsHelper.h" +#include "srcVersion.h" /* +------------------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +------------------+------------------+------+-----+---------+-------+ | hubUrl | longblob | NO | PRI | NULL | | | shortLabel | varchar(255) | NO | | NULL | | | longLabel | varchar(255) | NO | | NULL | | | registrationTime | varchar(255) | NO | | NULL | | | dbCount | int(10) unsigned | NO | | NULL | | | dbList | blob | YES | | NULL | | | descriptionUrl | longblob | YES | | NULL | | +------------------+------------------+------+-----+---------+-------+ */ @@ -1438,31 +1439,31 @@ urlInput = otherHubUrl; long lastTime = clock1000(); struct trackHub *hub = errCatchTrackHubOpen(urlInput); if (measureTiming) { long thisTime = clock1000(); hPrintf("hub open time: %ld millis
\n", thisTime - lastTime); } hPrintf("

Documentation: API definitions/help, and Track definition document for definitions of track settings.

\n"); if (debug) showCartDump(); -hPrintf("

Explore hub or database assemblies and tracks

\n"); +hPrintf("

Explore hub or database assemblies and tracks (v%s)

\n", SRC_VERSION); selectionForm(); /* these style mentions need to go into custom css file */ hPrintf("
\n"); if (sameWord(RADIO_UCSCDB, selectRadio)) /* requested UCSC db track list */ { tracksForUcscDb(ucscDb); } else { hPrintf("

%s url: %s

\n", sameWord(RADIO_PUBHUB,selectRadio) ? "Public hub" : "Other hub", urlInput); hPrintf("