76b1ff207748ca1da3d929e5286ccb72bd0528ef angie Wed Jun 12 13:29:36 2013 -0700 Bugfixes and improvements suggested by Brooke in #6152 notes 36, 38, 42. refs #6152 diff --git src/hg/hgCustom/hgCustom.c src/hg/hgCustom/hgCustom.c index 1fb4901..a8f44e6 100644 --- src/hg/hgCustom/hgCustom.c +++ src/hg/hgCustom/hgCustom.c @@ -736,31 +736,31 @@ cgiSimpleTableRowStart(); if (numCts) { puts(""); showCustomTrackList(ctList, numCts); } else puts("No custom tracks for this genome:  "); puts(""); /* navigation buttons */ puts(""); puts(""); /* button to add custom tracks */ -int buttonWidth = 13; +int buttonWidth = 18; puts(""); puts(""); /* determine if there's a navigation position for this screen */ char *pos = NULL; if (ctList) { pos = ctInitialPosition(ctList); if (!pos) pos = ctFirstItemPos(ctList); } @@ -774,30 +774,40 @@ if (pos) cgiMakeHiddenVar("position", pos); puts(""); puts(""); /* button for TB navigation */ puts(""); +/* button for VAI navigation */ +puts(""); + puts("
"); printf("", hgCtDoAdd, "add custom tracks", buttonWidth); puts("
"); printf("
\n", hgTablesName()); cartSaveSession(cart); printf("", "go to table browser", buttonWidth); puts("
"); puts("
"); +printf("
\n", + hgVaiName()); +cartSaveSession(cart); +printf("", + "go to variant annotation integrator", buttonWidth); +puts("
"); +puts("
"); puts(""); cgiTableRowEnd(); cgiTableEnd(); cartSetString(cart, "hgta_group", "user"); } void helpCustom() /* display documentation */ { webNewSection("Loading Custom Tracks"); char *browserVersion; if (btIE == cgiClientBrowser(&browserVersion, NULL, NULL) && *browserVersion < '8') puts("");