Skip to content

Commit

Permalink
Merge branch '13.3' into Backport-CORE-MinIO-App-Migration-Tutorial-t…
Browse files Browse the repository at this point in the history
…o-13.3
  • Loading branch information
Mrt134 authored Apr 29, 2024
2 parents ea397aa + 4d1181a commit 19c09fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions content/GettingStarted/COREReleaseNotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ weight: 3
aliases:
- /releasenotes/core/13.0beta1/
- /releasenotes/core/13.0rc1/
- /core/13.0/gettingstarted/corereleasenotes/
- /releasenotes/core/
- /core/corereleasenotes/
- /core/13.3/gettingstarted/corereleasenotes/
Expand Down
8 changes: 6 additions & 2 deletions layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
productButton.innerHTML = 'TrueNAS CORE <i class="fa fa-angle-down"></i>';
if (path.includes('/13.3/')) {
versionButton.textContent = '13.3';
if (path.includes('/13.0/')) {
} else if (path.includes('/13.0/')) {
versionButton.textContent = '13.0';
} else {
versionButton.textContent = 'Nightly';
Expand Down Expand Up @@ -128,6 +128,7 @@
if (product === 'TrueNAS CORE') {
versionDropdown.innerHTML = `
<div class="truenas-dropdown-item" onclick="selectVersion('core-nightly')" id="core-nightly">Nightly</div>
<div class="truenas-dropdown-item" onclick="selectVersion('13.3')" id="13">13.3</div>
<div class="truenas-dropdown-item" onclick="selectVersion('13.0')" id="13">13.0</div>
`;
} else if (product === 'TrueNAS SCALE') {
Expand Down Expand Up @@ -160,7 +161,9 @@

var relative_url;

if (version === '13.0') {
if (version === '13.3') {
relative_url = 'core/13.3/';
} else if (version === '13.0') {
relative_url = 'core/13.0/';
} else if (version === 'core-nightly') {
relative_url = 'core/';
Expand Down Expand Up @@ -238,6 +241,7 @@

if (productButton.textContent === 'TrueNAS CORE ') {
selectProduct('TrueNAS CORE');
versionButton.innerHTML = currentPath.includes('/13.3/') ? '13.3 <i class="fa fa-angle-down"></i>' : 'Nightly <i class="fa fa-angle-down"></i>';
versionButton.innerHTML = currentPath.includes('/13.0/') ? '13.0 <i class="fa fa-angle-down"></i>' : 'Nightly <i class="fa fa-angle-down"></i>';
versionDropdown.style.display = 'none';
} else if (productButton.textContent === 'TrueNAS SCALE ') {
Expand Down

0 comments on commit 19c09fe

Please sign in to comment.