2220c7cd0175bc25a18d8ee38c7f9ae7487e3c60
max
  Fri Sep 15 17:33:54 2017 -0700
Major rewrite of the UniProt pipeline, many changes, refs #19351

diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 64b0233..53642dd 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -3176,30 +3176,34 @@
         return tdb->html;
     }
 return NULL;
 }
 
 void printTrackHtml(struct trackDb *tdb)
 /* If there's some html associated with track print it out. Also print
  * last update time for data table and make a link
  * to the TB table schema page for this table. */
 {
 if (!isCustomTrack(tdb->track))
     {
     extraUiLinks(database,tdb);
     printTrackUiLink(tdb);
     struct trackVersion *trackVersion = getTrackVersion(database, tdb->track);
+    // also try the parent for composites/superTracks
+    if(trackVersion == NULL && (tdb->parent!=NULL))
+        trackVersion = getTrackVersion(database, tdb->parent->track);
+
     if(trackVersion == NULL)
         printDataVersion(tdb);
     else
         printf("<B>Data version:</B> %s <BR>\n", trackVersion->version);
     printOrigAssembly(tdb);
     printUpdateTime(database, tdb, NULL);
     printDataRestrictionDate(tdb);
     }
 char *html = getHtmlFromSelfOrParent(tdb);
 if (html != NULL && html[0] != 0)
     {
     htmlHorizontalLine();
 
     // Add pennantIcon
     printPennantIconNote(tdb);