Skip to content

Commit

Permalink
Merge pull request openshift#85696 from kalexand-rh/sd-notes
Browse files Browse the repository at this point in the history
adjusting banner for OSD and ROSA
  • Loading branch information
kalexand-rh authored Dec 2, 2024
2 parents a243ad2 + 0847943 commit 416021d
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions _templates/_page_openshift.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@
version == "4.18"
);

if (!["openshift-webscale", "openshift-dpu", "openshift-lightspeed", "openshift-service-mesh", "openshift-origin", "openshift-acs"].include?(distro_key) || unsupported)
if (!["openshift-webscale", "openshift-dpu", "openshift-lightspeed", "openshift-service-mesh", "openshift-origin", "openshift-acs", "openshift-rosa", "openshift-dedicated"].include?(distro_key) || unsupported)
%>
<span>
<div class="alert alert-info" role="primary" id="support-info">
<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>
<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>
</div>
</span>
<% end %>
Expand Down Expand Up @@ -111,6 +111,22 @@
</span>
<% end %>

<% if (distro_key == "openshift-dedicated") %>
<span>
<div class="alert alert-info" role="primary" id="support-info">
<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>
</div>
</span>
<% end %>

<% if (distro_key == "openshift-rosa") %>
<span>
<div class="alert alert-info" role="primary" id="support-info">
<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>
</div>
</span>
<% end %>

<% if (version == "4.18") && (distro_key != "openshift-webscale" && distro_key != "openshift-dpu" && distro_key != "rosa-hcp") %>
<span>
<div class="alert alert-danger" role="alert" id="support-alert">
Expand Down

0 comments on commit 416021d

Please sign in to comment.