|
59 | 59 | <div class="container">
|
60 | 60 | <button id="hc-open-btn" class="open-btn-sm" onclick="openNav()" aria-label="Open"><span class="fa fa-bars" /></button>
|
61 | 61 | <ol class="breadcrumb hide-for-print">
|
62 |
| - <% if (!["openshift-webscale", "openshift-dpu", "openshift-lightspeed", "openshift-service-mesh", "openshift-origin"].include?(distro_key) |
63 |
| - || (unsupported_versions.include?(version) || |
64 |
| - unsupported_versions_acs.include?(version) || |
65 |
| - unsupported_versions_pipelines.include?(version) || |
66 |
| - unsupported_versions_serverless.include?(version) || |
67 |
| - unsupported_versions_builds.include?(version) || |
68 |
| - unsupported_versions_gitops.include?(version) || |
69 |
| - unsupported_versions_origin.include?(version) |
70 |
| - ) |
71 |
| - ) |
| 62 | + <% |
| 63 | + unsupported = (unsupported_versions.include?(version) || |
| 64 | + unsupported_versions_acs.include?(version) || |
| 65 | + unsupported_versions_builds.include?(version) || |
| 66 | + unsupported_versions_gitops.include?(version) || |
| 67 | + unsupported_versions_origin.include?(version) |
| 68 | + unsupported_versions_pipelines.include?(version) || |
| 69 | + unsupported_versions_serverless.include?(version) |
| 70 | + ); |
| 71 | + |
| 72 | + if (!["openshift-webscale", "openshift-dpu", "openshift-lightspeed", "openshift-service-mesh", "openshift-origin"].include?(distro_key) || unsupported) |
72 | 73 | %>
|
73 | 74 | <span>
|
74 | 75 | <div class="alert alert-info" role="primary" id="support-info">
|
75 |
| - <strong>Soon, all Red Hat OpenShift documentation will only be available on <a href="https://docs.redhat.com/en/" style="color: #0C5460 !important" class="link-primary">docs.redhat.com</a>, the official location of all Red Hat product documentation.</strong> Get familiar with the updated experience today! |
| 76 | + <strong>OpenShift docs are moving and will soon only be available at <a href="https://docs.redhat.com/en/" style="color: #0C5460 !important" class="link-primary">docs.redhat.com</a>, the home of all Red Hat product documentation. Explore the <a href="https://docs.redhat.com/en/" style="color: #0C5460 !important" class="link-primary">new docs experience</a> today.</strong> |
76 | 77 | </div>
|
77 | 78 | </span>
|
78 | 79 | <% end %>
|
|
0 commit comments