871f2d654975f77385c1bccb62aa4d8f41f9f294
max
Fri Aug 27 05:18:24 2021 -0700
Adding "search help" link to hgTracks, refs #15554
diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 60cc987..74c42f8 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -8051,30 +8051,41 @@
freeMem(url);
freeMem(longLabel);
}
// show the folder icon from the font-awesome collection.
// the icon collection also contains a "fa fa-folder-o" icon, which is the outline. It was decided to use only the filled out icon for now.
if (tdbIsSuper(track->tdb) || tdbIsComposite(track->tdb))
hPrintf("");
hPrintf(" %s", track->shortLabel);
hPrintf(" ");
if (track->hasUi)
hPrintf("");
}
+void printSearchHelpLink()
+/* print the little search help link next to the go button */
+{
+char *url = cfgOption("searchHelpUrl");
+char *label = cfgOptionDefault("searchHelpLabel", "Search Help");
+if (!url)
+ return;
+
+printf("