Skip to content

Commit 59ec22c

Browse files
Hide OpenSearch on released versions (#759)
1 parent 1d1d1a8 commit 59ec22c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

supplemental-ui/partials/navbar.hbs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,19 @@
3737
<a class="navbar-item" href="{{{ relativize (versioned "home" page "hive/index.html") }}}">Apache Hive</a>
3838
<a class="navbar-item" href="{{{ relativize (versioned "home" page "kafka/index.html") }}}">Apache Kafka</a>
3939
<a class="navbar-item" href="{{{ relativize (versioned "home" page "nifi/index.html") }}}">Apache NiFi</a>
40+
{{#if (not (or
41+
(eq page.version "23.1")
42+
(eq page.version "23.4")
43+
(eq page.version "23.7")
44+
(eq page.version "23.11")
45+
(eq page.version "24.3")
46+
(eq page.version "24.7")
47+
(eq page.version "24.11")
48+
(eq page.version "25.3")
49+
(eq page.version "25.7")
50+
))}}
4051
<a class="navbar-item" href="{{{ relativize (versioned "home" page "opensearch/index.html") }}}">OpenSearch</a>
52+
{{/if}}
4153
<a class="navbar-item" href="{{{ relativize (versioned "home" page "spark-k8s/index.html") }}}">Apache Spark on K8S</a>
4254
<a class="navbar-item" href="{{{ relativize (versioned "home" page "superset/index.html") }}}">Apache Superset</a>
4355
<a class="navbar-item" href="{{{ relativize (versioned "home" page "trino/index.html") }}}">Trino</a>

0 commit comments

Comments
 (0)