src/hg/lib/hgFind.c 1.223
1.223 2010/02/09 23:27:21 angie
If the result of 'hFreezeName' (dbDb.description) contains the database name, as I intend to make happen, don't also show the database name in parens.
Index: src/hg/lib/hgFind.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hgFind.c,v
retrieving revision 1.222
retrieving revision 1.223
diff -b -B -U 4 -r1.222 -r1.223
--- src/hg/lib/hgFind.c 23 Sep 2009 18:42:20 -0000 1.222
+++ src/hg/lib/hgFind.c 9 Feb 2010 23:27:21 -0000 1.223
@@ -3118,15 +3118,21 @@
{
char *htmlPath = hHtmlPath(database);
char *htmlString = NULL;
size_t htmlStrLength = 0;
+char *freeze = hFreezeFromDb(database);
if (strstrNoCase(organism, "zoo"))
webNewSection("About the NISC Comparative Sequencing Program Browser");
+else if (stringIn(database, freeze))
+ webNewSection("About the %s %s assembly"
+ " <A HREF=\"%s?%s=%d&chromInfoPage=\">(sequences)</A>",
+ organism, freeze,
+ hgTracksName(), cartSessionVarName(), cartSessionId(cart));
else
webNewSection("About the %s %s (%s) assembly"
" <A HREF=\"%s?%s=%d&chromInfoPage=\">(sequences)</A>",
- organism, hFreezeFromDb(database), database,
+ organism, freeze, database,
hgTracksName(), cartSessionVarName(), cartSessionId(cart));
if (htmlPath != NULL && fileExists(htmlPath))
readInGulp(htmlPath, &htmlString, &htmlStrLength);