src/hg/lib/hui.c 1.194

1.194 2009/05/11 22:16:23 tdreszer
Added a link to help on 'Filter by category' UI
Index: src/hg/lib/hui.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hui.c,v
retrieving revision 1.193
retrieving revision 1.194
diff -b -B -U 4 -r1.193 -r1.194
--- src/hg/lib/hui.c	11 May 2009 21:56:31 -0000	1.193
+++ src/hg/lib/hui.c	11 May 2009 22:16:23 -0000	1.194
@@ -2551,19 +2551,20 @@
 {
 if(filterBySet == NULL)
     return;
 
+#define FILTERBY_HELP_LINK  "<A HREF=\"../../goldenPath/help/multiView.html\" TARGET=ucscHelp>help</A>"
 int count = slCount(filterBySet);
 if(count == 1)
     puts("<BR><TABLE cellpadding=3><TR valign='top'>");
 else
-    puts("<BR><B>Filter by</B> (select multiple categories and items)<TABLE cellpadding=3><TR valign='top'>");
+    printf("<BR><B>Filter by</B> (select multiple categories and items - %s)<TABLE cellpadding=3><TR valign='top'>\n",FILTERBY_HELP_LINK);
 filterBy_t *filterBy = NULL;
 for(filterBy = filterBySet;filterBy != NULL; filterBy = filterBy->next)
     {
     puts("<TD>");
     if(count == 1)
-        printf("<B>Filter by %s</B> (select multiple items)<BR>\n",filterBy->title);
+        printf("<B>Filter by %s</B> (select multiple items - %s)<BR>\n",filterBy->title,FILTERBY_HELP_LINK);
     else
         printf("<B>%s</B><BR>\n",filterBy->title);
     int fullSize = slCount(filterBy->slValues)+1;
     int openSize = min(20,fullSize);