6c3389d97b58ad04533a072efa1858dcadcf00e1 max Thu Jun 1 09:22:08 2017 -0700 allowing default gene and removing assembly if not known, refs #13634 diff --git src/hg/pyLib/hgLib.py src/hg/pyLib/hgLib.py index d61fd16..c26511e 100644 --- src/hg/pyLib/hgLib.py +++ src/hg/pyLib/hgLib.py @@ -149,43 +149,48 @@ print ("\n") menuPath = "../htdocs/inc/globalNavBar.inc" navBarStr = open(menuPath, "r").read() print (navBarStr) # fixup old menubar, copied from hgGtexTrackSettings, for now print("") print("") print("") print("
") -def printHgcHeader(assembly, shortLabel, longLabel, addGoButton=True, infoUrl="#INFO_SECTION"): +def printHgcHeader(assembly, shortLabel, longLabel, addGoButton=True, infoUrl="#INFO_SECTION", infoMouseOver="Jump to the track description"): " copied from hgGtexTrackSettings, uses bootstrap styling " #print("
") print("") print("
") print("
") + + if assembly is not None: print("") print(shortLabel) print("%s" % assembly) print("") + print("%s" % longLabel) - print("" % infoUrl) + + print("" % (infoUrl, infoMouseOver)) + print("") print("") print("") print("") print("
") if addGoButton: print("
") print("
") print("
GO
") print("") print("
") print("
") print("
") print("")