Use && instead of 'and' in soy templates ahead of deprecation
Release-Notes: skip
Change-Id: I52a1532b5e4f39cd6a6dd0e73c3aec732617d080
diff --git a/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy b/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
index b748ba5..5ff1822 100644
--- a/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
+++ b/resources/com/google/gerrit/httpd/raw/PolyGerritIndexHtml.soy
@@ -57,7 +57,7 @@
{/if}
{rb};
window.PRELOADED_QUERIES = {lb}
- {if $userIsAuthenticated and $defaultDashboardHex and $dashboardQuery}
+ {if $userIsAuthenticated && $defaultDashboardHex && $dashboardQuery}
dashboardQuery: [{for $query in $dashboardQuery}{$query},{/for}],
{/if}
{rb};
@@ -103,7 +103,7 @@
<link rel="preload" href="{$canonicalPath}/{$changeRequestsPath}/drafts?enable-context=true&context-padding=3" as="fetch" type="application/json" crossorigin="anonymous"/>{\n}
{/if}
{/if}
- {if $userIsAuthenticated and $defaultDashboardHex and $dashboardQuery}
+ {if $userIsAuthenticated && $defaultDashboardHex && $dashboardQuery}
<link rel="preload" href="{$canonicalPath}/changes/?O={$defaultDashboardHex}&S=0{for $query in $dashboardQuery}&q={$query}{/for}&allow-incomplete-results=true" as="fetch" type="application/json" crossorigin="anonymous"/>{\n}
{/if}
@@ -147,7 +147,7 @@
// CC them on any changes that load content before gr-app.js.
//
// github.com/Polymer/polymer-resin/blob/master/getting-started.md#integrating
- {if $assetsPath and $assetsBundle}
+ {if $assetsPath && $assetsBundle}
<link rel="import" href="{$assetsPath}/{$assetsBundle}">{\n}
{/if}