73b05663e1f9a56f25cc58a8aab51ff8fa79152b max Thu Jun 16 08:18:44 2022 -0700 changes after code review, refs #29594 diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c index 7ebf7d2..c79d6c8 100644 --- src/hg/hgHubConnect/hgHubConnect.c +++ src/hg/hgHubConnect/hgHubConnect.c @@ -278,31 +278,38 @@ "<a href=\"/goldenPath/help/hgSessionHelp.html\" style='color:#121E9A' target=_blank>session link</a>. " "First, connect the hub and configure the tracks image as desired, then navigate to " "<a href=\"/cgi-bin/hgSession\" style='color:#121E9A' target=_blank>My Sessions</a> (<b>My Data</b> > <b>My Sessions</b>). " "The resulting stable link can be added to publications and shared freely. You, as the author, " "also have the power to update the session contents freely. " "Alternatively, you may <a href=\"/goldenPath/help/hgTrackHubHelp.html#Sharing\" " "style='color:#121E9A' target=_blank>build a link with the hub URL</a> to allow users to retain their browser " "configuration, connected hubs, and custom tracks.</p>" "</p>" "<p><a href=\"../contacts.html\" style='color:#121E9A'>Contact us</A> if you wish to submit a hub to the list of public hubs.</p>\n" ); if (unlistedHubCount == 0) { // nothing to see here - printf("<tr><td>No Unlisted Track Hubs</td></tr>"); + printf("<tr><td style='text-align:left'>No connected track or assembly hubs.<p>To connect a hub:" + "<li>Enter its URL into the input box above and click 'Add Hub'. " + "<li>Alternatively, you can go to the 'Public Hubs' tab on this page and connect one " + "of the hubs that were submitted to us. " + "<li>Another way to connect to hubs is via a direct connection link copied using the copy icon, shown on this page, when a hub is connected. " + "<li>You can also connect to hub by following a short link to a saved session, created though the menu " + "'My Data > My Sessions', if the Genome Browser had connected hubs when the session was saved." + "</ul></td></tr>"); printf("</thead></table>"); puts("</FORM>"); // return from within DIV and FROM is probably not a good idea puts("</div></div>"); // tabSection and .unlistedHubs return; } // time to output the big table. First the header puts( "<tr> " "<th>Display</th> " "<th>Hub Name</th> " "<th>Description</th> " "<th>Assemblies<span class='assemblyClickNote'>Click to connect and browse directly. Click copy icon to copy URL to clipboard for sharing.</span></th> " "</tr>\n" "</thead>\n");