f8257545a49d4f3d482e4491f98b5fb5b9d4933a
angie
  Tue Apr 26 12:29:59 2016 -0700
Don't show the hgwdev warning box on demo6 so we can use it for screenshots and videos in advance of release (thx Donna and Cath).  refs #15277

diff --git src/hg/hgGateway/hgGateway.c src/hg/hgGateway/hgGateway.c
index d9101d1..938787e 100644
--- src/hg/hgGateway/hgGateway.c
+++ src/hg/hgGateway/hgGateway.c
@@ -287,31 +287,31 @@
 
 #define WARNING_BOX_END "</div></div>"
 
 if (hIsPreviewHost())
     {
     puts(WARNING_BOX_START
          "WARNING: This is the UCSC Genome Browser preview site. "
          "This website is a weekly mirror of our internal development server for public access. "
          UNDER_DEV
          "We provide this site for early access, with the warning that it is less available "
          "and stable than our public site. "
          MAIN_SITE
          WARNING_BOX_END);
     }
 
-if (hIsPrivateHost())
+if (hIsPrivateHost() && !hHostHasPrefix("hgwdev-demo6"))
     {
     puts(WARNING_BOX_START
          "WARNING: This is the UCSC Genome Browser development site. "
          "This website is used for testing purposes only and is not intended for general public "
          "use. "
          UNDER_DEV
          MAIN_SITE
          WARNING_BOX_END);
     }
 
 // The visible page elements are all in ./hgGateway.html, which is transformed into a quoted .h
 // file containing a string constant that we #include and print here (see makefile).
 puts(
 #include "hgGateway.html.h"
 );