Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PD-1455 / 3.0 / PD-1455-backport-typo-fix (by DjP-iX) #3313

Merged
merged 2 commits into from
Nov 26, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update docs-nav.html
(cherry picked from commit 8632a03)
  • Loading branch information
DjP-iX authored and bugclerk committed Nov 26, 2024
commit ffec2fde8146c9fe39f98ec85df9bda9ca5bbf81
12 changes: 6 additions & 6 deletions layouts/partials/docs-nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@
} else if (path.includes('/13.0/')) {
versionButton.textContent = '13.0';
}
else if (path.includes('/25.05/')) {
versionButton.textContent = '25.05';
else if (path.includes('/25.04/')) {
versionButton.textContent = '25.04';
} else if (path.includes('/24.10/')) {
versionButton.textContent = '24.10';
} else if (path.includes('/24.04/')) {
Expand All @@ -150,7 +150,7 @@
versionButton.textContent = 'Archive';
} else {
// Default version if no specific path is matched
versionButton.textContent = '25.05';
versionButton.textContent = '25.04';
}
versionUpdated = true;
} else if (path.includes('/truecommand/')) {
Expand Down Expand Up @@ -464,8 +464,8 @@
versionButton.innerHTML = '13.0 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/core/13.3/')) {
versionButton.innerHTML = '13.3 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/25.05/')) {
versionButton.innerHTML = '25.05 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/25.04/')) {
versionButton.innerHTML = '25.04 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/24.10/')) {
versionButton.innerHTML = '24.10 <i class="fa fa-angle-down"></i>';
} else if (currentPath.includes('/scale/24.04/')) {
Expand All @@ -476,7 +476,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.05 <i class="fa fa-angle-down"></i>';
versionButton.innerHTML = '25.04 <i class="fa fa-angle-down"></i>';
}

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