Skip to content

Commit

Permalink
Merge pull request #3011 from truenas/tc3_0-rename-nightly-2410
Browse files Browse the repository at this point in the history
(3.0 branch) Replace SCALE Nightly version text to 24.10 (temporary)
  • Loading branch information
tonyriv3 authored Aug 30, 2024
2 parents 44a5d6e + 096aa20 commit c8e00d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
} else if (path.includes('/22.12/')) {
versionButton.textContent = 'Archive';
} else {
versionButton.textContent = 'Nightly';
versionButton.textContent = '24.10';
}
versionUpdated = true;
} else if (path.includes('/truecommand/')) {
Expand Down Expand Up @@ -212,7 +212,7 @@
`;
} else if (product === 'TrueNAS SCALE') {
versionDropdown.innerHTML = `
<div class="truenas-dropdown-item" onclick="selectVersion('scale-nightly')" id="scale-nightly">Nightly</div>
<div class="truenas-dropdown-item" onclick="selectVersion('scale-nightly')" id="scale-nightly">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>
<div class="truenas-dropdown-item" onclick="selectVersion('Archive')" id="Archive">Archive</div>
Expand Down Expand Up @@ -444,7 +444,7 @@
versionDropdown.style.display = 'none';
} else if (productButton.textContent === 'TrueNAS SCALE ') {
selectProduct('TrueNAS SCALE');
versionButton.innerHTML = currentPath.includes('/24.04/') ? '24.04 <i class="fa fa-angle-down"></i>' : currentPath.includes('/23.10/') ? '23.10 <i class="fa fa-angle-down"></i>' : currentPath.includes('/22.12/') ? '22.12 <i class="fa fa-angle-down"></i>' : 'Nightly <i class="fa fa-angle-down"></i>';
versionButton.innerHTML = currentPath.includes('/24.04/') ? '24.04 <i class="fa fa-angle-down"></i>' : currentPath.includes('/23.10/') ? '23.10 <i class="fa fa-angle-down"></i>' : currentPath.includes('/22.12/') ? '22.12 <i class="fa fa-angle-down"></i>' : '24.10 <i class="fa fa-angle-down"></i>';
versionDropdown.style.display = 'none';
} else if (productButton.textContent === 'TrueCommand ') {
selectProduct('TrueCommand');
Expand Down

0 comments on commit c8e00d5

Please sign in to comment.