summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Rohlfs <brohlfs@google.com>2019-01-31 09:49:19 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-01-31 09:49:19 +0000
commit3c6b3a989bdb553040dbad4600df6ca3615c86da (patch)
tree3b262027a3db04f1122b4fda670cac7c1aa76537
parentf78cf3e9f1d30610fc6e6e1dfd0bd3f78fe4b670 (diff)
parent987d4c9606720eedc3d1f17f83ed8cade0dffe72 (diff)
Merge "Adds <noscript> to PolyGerritIndexHtml.soy" into stable-2.14
-rw-r--r--gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy4
1 files changed, 4 insertions, 0 deletions
diff --git a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
index eed6cccb3e..99c3454065 100644
--- a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
+++ b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
@@ -27,6 +27,10 @@
<meta name="description" content="Gerrit Code Review">{\n}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">{\n}
+ <noscript>
+ To use PolyGerrit, please enable JavaScript in your browser settings, and then refresh this page.
+ </noscript>
+
{if $canonicalPath != ''}
<script>window.CANONICAL_PATH = '{$canonicalPath}';</script>{\n}
{/if}