commit | 987d4c9606720eedc3d1f17f83ed8cade0dffe72 | [log] [tgz] |
---|---|---|
author | Paladox none <thomasmulhall410@yahoo.com> | Tue Jan 29 22:08:00 2019 +0000 |
committer | Paladox none <thomasmulhall410@yahoo.com> | Tue Jan 29 23:33:37 2019 +0000 |
tree | dde3b9f31c170499cb151798ba3a567581f003ce | |
parent | 85b4b3eac95b1274673edc88d0010c873373afa3 [diff] |
Adds <noscript> to PolyGerritIndexHtml.soy This adds a note that JS is required to use PolyGerrit. Change-Id: Ic53ae07b4addb3fba35762d85b580403a4c21659
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 eed6ccc..99c3454 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}