6a4153496eac6a158f48f5c3972f2c33ff37b7d0 max Mon May 19 08:37:52 2025 -0700 last minute wording changes to hub connect page, refs #29899 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 5e361875348..250b26792c6 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -1426,53 +1426,59 @@ char *errorMessage; hubFindOrAddUrlInStatusTable(cart, hub->hubUrl, &errorMessage); // if there is an error message, we stay in hgHubConnect if (errorMessage != NULL) return 0; getDbAndGenome(cart, &database, &organism, oldVars); char headerText[1024]; safef(headerText, sizeof(headerText), "Hub Connect Successful"); cartWebStart(cart, NULL, "%s", headerText); struct trackHub *tHub = hub->trackHub; -hPrintf("<P><B style='color: red;'>Note:</B> As of May 27 this page <B>no longer redirects</B> to the gateway. Make a genome selection below to go directly to the tracks display. This message will be removed July 8th.</P>"); +hPrintf("<P><i><B style='color: red;'>Note:</B> As of May 27 this page <B>no longer redirects</B> to our Genome Gateway page. Make a genome selection below to go directly to the tracks display. This message will be removed July 8th.</i></P>"); + +hPrintf("<P><B>Connected Hub: </B>%s</P>", tHub->shortLabel); -hPrintf("<P><B>%s</B> now connected. Select a genome below to see the tracks display, or <A href=\"./hgHubConnect#unlistedHubs\">connect another hub</A>.</P>", tHub->shortLabel); hPrintf("<P><B>Hub Description:</B> %s</P>", tHub->longLabel); hPrintf("<P><B>Contact email:</B> <A HREF=\"mailto:%s\">%s</A>.</B> Use this contact for all data questions.</P>", tHub->email, tHub->email); struct trackHubGenome *genomeList = tHub->genomeList; +hPrintf("<P><B>Assemblies:</B> Select an assembly below to starting browsing the tracks of this hub:<P>"); + hPrintf("<ul>"); + for(; genomeList; genomeList = genomeList->next) { char *desc = genomeList->description; if (desc==NULL) desc = hFreezeFromDb(genomeList->name); char *org = trackHubSkipHubName( genomeList->organism ); if (org==NULL) org = hOrganism(genomeList->name); - hPrintf("<li><A href=\"../cgi-bin/hgTracks?db=%s&%s&position=lastDbPos\">%s: %s</A></li>",genomeList->name, + hPrintf("<li>Open: <A href=\"../cgi-bin/hgTracks?db=%s&%s&position=lastDbPos\">%s: %s</A></li>",genomeList->name, cartSidUrlString(cart), org, desc); } hPrintf("</ul>"); +hPrintf("<P><A href=\"./hgHubConnect#unlistedHubs\">Connect another hub</A> to add even more tracks.</P>"); + hPrintf("<P><I>Hubs are created and maintained by external sources. UCSC is not responsible for their content and status.</I></P>"); return 1; } static void doResetHub(struct cart *theCart) { char *url = cartOptionalString(cart, hgHubCheckUrl); if (url != NULL) { udcSetCacheTimeout(1); unsigned id = hubResetError(url); tryHubOpen(id); }