bf337e7ac5646c4a7f7d19a8d577eeff63e27c22 max Thu Jun 13 01:16:49 2024 -0700 changing DNA to DNA sequence in menu, email from user and ML ticket by Sandy Sharp, refs #33589 diff --git src/hg/hgTracks/menu.c src/hg/hgTracks/menu.c index 46e5f8f..35d4b6e 100644 --- src/hg/hgTracks/menu.c +++ src/hg/hgTracks/menu.c @@ -255,31 +255,31 @@ #define exportedDataHubsMenuItemId "exportedDataHubsMenuItem" struct dyString *menuItemDs = dyStringCreate("<li><a href='#' id='%s'>Exported Data Hubs</a></li>", exportedDataHubsMenuItemId); menuStr = replaceChars(menuStr, "<!-- OPTIONAL_EXPORTED_TRACK_DATA_HUBS_MENU -->", dyStringCannibalize(&menuItemDs)); if (stringIn(exportedDataHubsMenuItemId, menuStr)) jsOnEventById("click", exportedDataHubsMenuItemId, "showExportedDataHubsPopup(); return false;"); } // Create top items in view menu safef(buf, sizeof(buf), "../cgi-bin/hgTracks?%s&hgt.psOutput=on", uiVars); appendLink(&links, buf, "PDF", "pdfLink", FALSE); safef(buf, sizeof(buf), "%s&o=%d&g=getDna&i=mixed&c=%s&l=%d&r=%d&db=%s", hgcNameAndSettings(), winStart, chromName, winStart, winEnd, database); //appendLink(&links, buf, "DNA", "dnaLink", FALSE); -appendLinkWithShortcut(&links, buf, "DNA", "dnaLink", "Show DNA sequence in view", "v d", FALSE, FALSE); +appendLinkWithShortcut(&links, buf, "DNA Sequence", "dnaLink", "Show DNA sequence in view", "v d", FALSE, FALSE); safef(buf, sizeof(buf), "../cgi-bin/hgConvert?hgsid=%s&db=%s", cartSessionId(cart), database); appendLink(&links, buf, "In Other Genomes (Convert)", "convertMenuLink", FALSE); safef(buf, sizeof(buf), "../cgi-bin/hgTracks?chromInfoPage=&hgsid=%s&db=%s", cartSessionId(cart), database); appendLinkWithShortcut(&links, buf, "Chromosomes", "showSizesLink", "Show a table of all chromsomes in this assembly (or scaffolds/contigs) and their sizes.", "v s", FALSE, FALSE); // add the sendTo menu if (fileExists("extTools.ra")) { appendLinkWithOnclick(&links, "#", "In External Tools", "extToolLink", "Show current sequence on a third-party website", "showExtToolDialog(); return false;", "s t", FALSE, FALSE); } // Add link-outs to other dbs as appropriate for this assembly if (differentWord(database,"susScr2"))