Skip to content

Commit 23de851

Browse files
authored
Merge pull request #85244 from aireilly/tweak-goodbye-banner
Conditionalize the goodbye banner so that it doesn't appear on top of other banners or in openshift-origin
2 parents 1f7d5fd + 38a1696 commit 23de851

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

_templates/_page_openshift.html.erb

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,23 @@
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-
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+
)
72+
%>
6373
<span>
6474
<div class="alert alert-info" role="primary" id="support-info">
6575
<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!
6676
</div>
6777
</span>
78+
<% end %>
6879

6980
<% if (distro_key == "openshift-webscale" || distro_key == "openshift-dpu") %>
7081
<span>

0 commit comments

Comments
 (0)