Skip to content

Commit 416021d

Browse files
authored
Merge pull request openshift#85696 from kalexand-rh/sd-notes
adjusting banner for OSD and ROSA
2 parents a243ad2 + 0847943 commit 416021d

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

_templates/_page_openshift.html.erb

+18-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,11 @@
7070
version == "4.18"
7171
);
7272

73-
if (!["openshift-webscale", "openshift-dpu", "openshift-lightspeed", "openshift-service-mesh", "openshift-origin", "openshift-acs"].include?(distro_key) || unsupported)
73+
if (!["openshift-webscale", "openshift-dpu", "openshift-lightspeed", "openshift-service-mesh", "openshift-origin", "openshift-acs", "openshift-rosa", "openshift-dedicated"].include?(distro_key) || unsupported)
7474
%>
7575
<span>
7676
<div class="alert alert-info" role="primary" id="support-info">
77-
<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/documentation/openshift_container_platform/latest" style="color: #0C5460 !important" class="link-primary">new docs experience</a> today.</strong>
77+
<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/documentation/openshift_container_platform/4.17/html/about/index" style="color: #0C5460 !important" class="link-primary">new docs experience</a> today.</strong>
7878
</div>
7979
</span>
8080
<% end %>
@@ -111,6 +111,22 @@
111111
</span>
112112
<% end %>
113113

114+
<% if (distro_key == "openshift-dedicated") %>
115+
<span>
116+
<div class="alert alert-info" role="primary" id="support-info">
117+
<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/documentation/openshift_dedicated/4/html/introduction_to_openshift_dedicated/index" style="color: #0C5460 !important" class="link-primary">new docs experience</a> today.</strong>
118+
</div>
119+
</span>
120+
<% end %>
121+
122+
<% if (distro_key == "openshift-rosa") %>
123+
<span>
124+
<div class="alert alert-info" role="primary" id="support-info">
125+
<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/documentation/red_hat_openshift_service_on_aws/4/html/about/index" style="color: #0C5460 !important" class="link-primary">new docs experience</a> today.</strong>
126+
</div>
127+
</span>
128+
<% end %>
129+
114130
<% if (version == "4.18") && (distro_key != "openshift-webscale" && distro_key != "openshift-dpu" && distro_key != "rosa-hcp") %>
115131
<span>
116132
<div class="alert alert-danger" role="alert" id="support-alert">

0 commit comments

Comments
 (0)