0e52473a1b54d22035d786d55dcbe130c3604edc brianlee Mon Apr 25 16:59:56 2016 -0700 Jonathan helped overview adding links to hgSession to new Session Gallery page ref #17231 diff --git src/hg/hgSession/hgSession.c src/hg/hgSession/hgSession.c index 7864259..a7b483c 100644 --- src/hg/hgSession/hgSession.c +++ src/hg/hgSession/hgSession.c @@ -468,31 +468,34 @@ * If savedSessionsSupported, allow import of named sessions. * Allow export/import of settings from file/URL. */ { char *formMethod = cartUsualString(cart, "formMethod", "POST"); if (webStarted) webNewSection("Session Management"); else { cartWebStart(cart, NULL, "Session Management"); jsInit(); } printf("See the Sessions User's Guide " - "for more information about this tool.

\n"); + "for more information about this tool. " + "See the Session Gallery " + "for example sessions.

\n"); showCartLinks(); printf("

\n", hgSessionName(), formMethod); cartSaveSession(cart); if (isNotEmpty(userName)) showExistingSessions(userName); else if (savedSessionsSupported) printf("

If you sign in, " "you will also have the option to save named sessions.\n", wikiLinkUserLoginUrl(cartSessionId(cart))); showSavingOptions(userName); @@ -529,31 +532,33 @@ wikiLinkUserLoginUrl(cartSessionId(cart))); } dyStringPrintf(dyUrl, "http%s://%s%s", cgiAppendSForHttps(), cgiServerNamePort(), cgiScriptName()); printf("

  • If you have saved your settings to a local file, you can send " "email to others with the file as an attachment and direct them to " "%s .
  • \n", dyUrl->string, dyUrl->string); dyStringPrintf(dyUrl, "?hgS_doLoadUrl=submit&hgS_loadUrlName="); printf("
  • If a saved settings file is available from a web server, " "you can send email to others with a link such as " "%sU where U is the URL of your " "settings file, e.g. http://www.mysite.edu/~me/mySession.txt . " "In this type of link, you can replace " "\"hgSession\" with \"hgTracks\" in order to proceed directly to " - "the Genome Browser.
  • \n", + "the Genome Browser. For an example page using such links " + "please see the Session Gallery.\n", dyUrl->string); printf("\n"); dyStringFree(&dyUrl); } void doMainPage(char *message) /* Login status/links and session controls. */ { puts("Content-Type:text/html\n"); if (wikiLinkEnabled()) { char *wikiUserName = wikiLinkUserName(); if (wikiUserName) welcomeUser(wikiUserName); else