Skip to content

Commit b68b404

Browse files
authored
Merge pull request #56936 from gaurav-nelson/multiple-distro-unsupported-versions
2 parents cd6b987 + 09c488a commit b68b404

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

_templates/_page_openshift.html.erb

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,12 @@
4141
<body onload="selectVersion('<%= version %>');">
4242
<%= render("_templates/_topnav.html.erb", :distro_key => distro_key) %>
4343
<%
44-
unsupported_versions = ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "3.65", "3.66", "3.67", "3.68", "3.69", "3.70", "3.71"];
44+
unsupported_versions = ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7"];
45+
46+
unsupported_versions_acs = ["3.65", "3.66", "3.67", "3.68", "3.69", "3.70", "3.71"];
47+
48+
unsupported_versions_origin = ["3.0", "3.1", "3.2", "3.3", "3.4", "3.5", "3.6", "3.7", "3.9", "3.10", "3.11", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6", "4.7", "4.8", "4.9", "4.10", "4.11", "4.12"];
49+
4550
%>
4651
<div class="container">
4752
<button id="hc-open-btn" class="open-btn-sm" onclick="openNav()" aria-label="Open"><span class="fa fa-bars" /></button>
@@ -72,7 +77,7 @@
7277

7378
<% end %>
7479

75-
<% if ((unsupported_versions.include? version) && (distro_key == "openshift-acs")) %>
80+
<% if ((unsupported_versions_acs.include? version) && (distro_key == "openshift-acs")) %>
7681

7782
<span>
7883
<div class="alert alert-danger" role="alert" id="support-alert">
@@ -82,7 +87,7 @@
8287

8388
<% end %>
8489

85-
<% if ((unsupported_versions.include? version) && (distro_key == "openshift-origin")) %>
90+
<% if ((unsupported_versions_origin.include? version) && (distro_key == "openshift-origin")) %>
8691

8792
<span>
8893
<div class="alert alert-danger" role="alert" id="support-alert">
@@ -221,7 +226,7 @@
221226
<span class="material-icons-outlined" title="Page history">history
222227
</span>
223228
</a>
224-
<% unless (unsupported_versions.include? version) %>
229+
<% unless (unsupported_versions_acs.include? version) %>
225230
<a href="https://issues.redhat.com/secure/CreateIssueDetails!init.jspa?pid=12331224&issuetype=1&components=12366876&priority=4&summary=<%= "[rhacs-docs-#{version}]+Issue+in+file+#{repo_path}"%>">
226231
<span class="material-icons-outlined" title="Open an issue">bug_report
227232
</span>

0 commit comments

Comments
 (0)