b97034619937d4c0e440c014d7429687df69cf4f max Mon Aug 9 05:38:05 2021 -0700 using word container track instead of collection track in container track mouseover, refs #25035 diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index 888bf84..b3974aa 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -8016,36 +8016,36 @@ static void printTrackLink(struct track *track) /* print a link hgTrackUi with shortLabel and various icons and mouseOvers */ { if (track->hasUi) { char *url = trackUrl(track->track, chromName); char *longLabel = replaceChars(track->longLabel, "\"", """); // Print an icon before the title when one is defined hPrintPennantIcon(track->tdb); struct dyString *dsMouseOver = dyStringCreate("%s", longLabel); struct trackDb *tdb = track->tdb; if (tdb->children) { - dyStringPrintf(dsMouseOver, " - %d subtracks of different types (super track)", + dyStringPrintf(dsMouseOver, " - this is a container track with %d subtracks of different types (super track)", slCount(tdb->children)); } else if (tdb->subtracks) { - dyStringPrintf(dsMouseOver, " - %d subtracks of similar types (composite)", + dyStringPrintf(dsMouseOver, " - this is a container track with %d subtracks of similar types (composite track)", slCount(tdb->subtracks)); } hPrintf("<A HREF=\"%s\" title=\"%s\">", url, dyStringCannibalize(&dsMouseOver)); 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("<i id='folderIcon' class='fa fa-folder'></i>"); hPrintf(" %s", track->shortLabel);