|
41 | 41 | <body onload="selectVersion('<%= version %>');"> |
42 | 42 | <%= render("_templates/_topnav.html.erb", :distro_key => distro_key) %> |
43 | 43 | <% |
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 | + |
45 | 50 | %> |
46 | 51 | <div class="container"> |
47 | 52 | <button id="hc-open-btn" class="open-btn-sm" onclick="openNav()" aria-label="Open"><span class="fa fa-bars" /></button> |
|
72 | 77 |
|
73 | 78 | <% end %> |
74 | 79 |
|
75 | | - <% if ((unsupported_versions.include? version) && (distro_key == "openshift-acs")) %> |
| 80 | + <% if ((unsupported_versions_acs.include? version) && (distro_key == "openshift-acs")) %> |
76 | 81 |
|
77 | 82 | <span> |
78 | 83 | <div class="alert alert-danger" role="alert" id="support-alert"> |
|
82 | 87 |
|
83 | 88 | <% end %> |
84 | 89 |
|
85 | | - <% if ((unsupported_versions.include? version) && (distro_key == "openshift-origin")) %> |
| 90 | + <% if ((unsupported_versions_origin.include? version) && (distro_key == "openshift-origin")) %> |
86 | 91 |
|
87 | 92 | <span> |
88 | 93 | <div class="alert alert-danger" role="alert" id="support-alert"> |
|
221 | 226 | <span class="material-icons-outlined" title="Page history">history |
222 | 227 | </span> |
223 | 228 | </a> |
224 | | - <% unless (unsupported_versions.include? version) %> |
| 229 | + <% unless (unsupported_versions_acs.include? version) %> |
225 | 230 | <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}"%>"> |
226 | 231 | <span class="material-icons-outlined" title="Open an issue">bug_report |
227 | 232 | </span> |
|
0 commit comments