Skip to content

Commit

Permalink
Update docs-nav.html (#3506)
Browse files Browse the repository at this point in the history
(cherry picked from commit 023a07c)

Co-authored-by: DjP-iX <[email protected]>
  • Loading branch information
bugclerk and DjP-iX authored Feb 12, 2025
1 parent 2c3cff7 commit d3f80b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
versionButton.textContent = 'Archive';
} else {
// Default version if no specific path is matched
versionButton.textContent = '25.04';
versionButton.textContent = '25.10';
}
versionUpdated = true;
} else if (path.includes('/truecommand/')) {
Expand Down Expand Up @@ -212,7 +212,8 @@

if (product === 'TrueNAS') {
versionDropdown.innerHTML = `
<div class="truenas-dropdown-item" onclick="selectVersion('scale-nightly')" id="scale-nightly">25.04</div>
<div class="truenas-dropdown-item" onclick="selectVersion('scale-nightly')" id="scale-nightly">25.10</div>
<div class="truenas-dropdown-item" onclick="selectVersion('25.04')" id="2504">25.04</div>
<div class="truenas-dropdown-item" onclick="selectVersion('24.10')" id="2410">24.10</div>
<div class="truenas-dropdown-item" onclick="selectVersion('24.04')" id="2404">24.04</div>
<div class="truenas-dropdown-item" onclick="selectVersion('23.10')" id="2310">23.10</div>
Expand Down Expand Up @@ -476,7 +477,7 @@
versionButton.innerHTML = '22.12 <i class="fa fa-angle-down"></i>';
} else {
// Default to latest version if no specific path is matched
versionButton.innerHTML = '25.04 <i class="fa fa-angle-down"></i>';
versionButton.innerHTML = '25.10 <i class="fa fa-angle-down"></i>';
}

versionDropdown.style.display = 'none';
Expand Down

0 comments on commit d3f80b6

Please sign in to comment.