3a3d2f00ba0408f55f02a8ef265dd4fc153a163b lrnassar Fri Sep 4 15:06:35 2026 -0700 New BLAT results banner: same welcome wording as the search form's banner. refs #37996 diff --git src/hg/js/hgBlat.js src/hg/js/hgBlat.js index 82db4a044e2..e636243b878 100644 --- src/hg/js/hgBlat.js +++ src/hg/js/hgBlat.js @@ -481,39 +481,40 @@ // Pin a stable, shareable URL into the address bar (no server redirect) so refresh, bookmark and // "Share a link" all use the trash-backed reopen link instead of the transient POST/search URL. if (cfg.shareUrl) { try { history.replaceState(null, '', cfg.shareUrl); } catch (e) { /* older browsers: ignore */ } } var back = cfg.backUrl ? `Back to Genome Browser` : ''; // The page actions live in the gold main-header bar (framework #sectTtl), next to the title - // so there is no separate toolbar (.blatHead is gone). Injected into #sectTtl below. var headActions = `${back}New BLAT search`; - // Top banner: note this is the new page, link back to the classic page (fresh searches only, - // where the trash files still exist), and invite feedback. The old page also clears the - // blatNewPage preference so later searches use the classic page until the user opts back in. + // Top banner: identical wording to the search form's banner. The original-page link shows + // only for fresh searches (where the trash files still exist); it clears the blatNewPage + // preference so later searches use the classic page until the user opts back in. var origPage = cfg.canOldPage ? - ` You can go back to the original page anytime.` : ''; + ` You can go back to the original page anytime.` : ''; var bannerHtml = - `
We are testing a new BLAT output page.${origPage} ` + - `If you have feedback on this new page, do not hesitate to let us know via ` + + `
Welcome to our ` + + `new BLAT page.${origPage} ` + + `Please send any feedback to ` + `genome@soe.ucsc.edu.
`; var queryCount = new Set(hits.map(h => h.qName)).size; var th = []; th.push('#'); if (cfg.multiQuery) { th.push('Query'); } th.push('Open in Genome Browser'); th.push('Show'); th.push('Query coverage'); if (cfg.hasLocus) { th.push('Locus'); } th.push('Score'); th.push('Identity'); th.push('Strand'); th.push('Span');