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..7fd3d81742 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 @@ -19,6 +19,7 @@ /** * @param canonicalPath * @param staticResourcePath + * @param? versionInfo */ {template .Index autoescape="strict" kind="html"} {\n} @@ -27,8 +28,11 @@ {\n} {\n} - {if $canonicalPath != ''} - {\n} + {if $canonicalPath != '' or $versionInfo} + {\n} {/if} {\n}