Skip to content

Commit ebd6caa

Browse files
committed
updates banner
1 parent 7505368 commit ebd6caa

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

_templates/_page_openshift.html.erb

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,21 @@
5959
<div class="container">
6060
<button id="hc-open-btn" class="open-btn-sm" onclick="openNav()" aria-label="Open"><span class="fa fa-bars" /></button>
6161
<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)
7273
%>
7374
<span>
7475
<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>
7677
</div>
7778
</span>
7879
<% end %>

0 commit comments

Comments
 (0)