Skip to content

Commit 11936f3

Browse files
committed
fix policies menu link
1 parent 5853243 commit 11936f3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

supplemental-ui/partials/navbar.hbs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,21 @@
7272
<a class="navbar-link" href="#">Compliance</a>
7373
<div class="navbar-dropdown">
7474
<a class="navbar-item" href="{{{ relativize "/home/stable/compliance/product-information" }}}">Product Information</a>
75+
{{#if (not (or
76+
(eq page.version "23.1")
77+
(eq page.version "23.4")
78+
(eq page.version "23.7")
79+
(eq page.version "23.11")
80+
(eq page.version "24.3")
81+
(eq page.version "24.7")
82+
(eq page.version "24.11")
83+
(eq page.version "25.3")
84+
(eq page.version "25.7")
85+
))}}
7586
<a class="navbar-item" href="{{{ relativize (versioned "home" page "policies.html") }}}">Policies</a>
87+
{{else}}
88+
<a class="navbar-item" href="{{{ relativize (versioned "home" page "compliance/policies.html") }}}">Policies</a>
89+
{{/if}}
7690
<a class="navbar-item" href="{{{ relativize "/home/stable/compliance/licenses" }}}">Licenses</a>
7791
<a class="navbar-item" href="{{{ relativize "/home/stable/compliance/export" }}}">Export Control</a>
7892
<a class="navbar-item" href="{{{ relativize "/home/stable/compliance/cra" }}}">Cyber Resilience Act</a>

0 commit comments

Comments
 (0)